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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- physics
|
| 7 |
+
- dimensional-analysis
|
| 8 |
+
- buckingham-pi
|
| 9 |
+
- vaschy-buckingham
|
| 10 |
+
- symbolic-regression
|
| 11 |
+
- science
|
| 12 |
+
pretty_name: "Vashy: Dimensionally-Consistent Physics Equations"
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1M<n<10M
|
| 15 |
+
configs:
|
| 16 |
+
- config_name: default
|
| 17 |
+
data_files: data/circuits.parquet
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# PhysicsBabel — A Complete Catalogue of Dimensionally-Consistent Physics Equations
|
| 21 |
+
|
| 22 |
+
**Vashy** is an exhaustive, machine-generated catalogue of every *irreducible
|
| 23 |
+
dimensionless relation* that can be formed from a curated pool of 60 physical
|
| 24 |
+
quantities spanning all of classical physics. It is built directly from the
|
| 25 |
+
**Vaschy–Buckingham π theorem**: any physically meaningful equation must be
|
| 26 |
+
dimensionally homogeneous, so the set of dimensionally-consistent monomials is
|
| 27 |
+
exactly the set of dimensionless products the theorem describes.
|
| 28 |
+
|
| 29 |
+
Each of the **2,325,320 rows** is one such relation — for example
|
| 30 |
+
`F = k₀ · m·a` (Newton's second law), `ℓ = k₀ · v⁻¹·ρ⁻¹·μ` (the Reynolds
|
| 31 |
+
number), or `m = k₀ · E·c₀⁻²` (mass–energy equivalence) — annotated with
|
| 32 |
+
metrics that let you filter the physically meaningful laws out of the vast space
|
| 33 |
+
of mere dimensional coincidences.
|
| 34 |
+
|
| 35 |
+
> `k₀` denotes the dimensionless constant of order unity that dimensional
|
| 36 |
+
> analysis *cannot* determine (e.g. the ½ in kinetic energy, or 6π in Stokes'
|
| 37 |
+
> drag). This is an intrinsic limitation of the method, not of the dataset.
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## What is in the dataset
|
| 42 |
+
|
| 43 |
+
The catalogue is **complete**: it contains *every* minimal dimensionless
|
| 44 |
+
relation of size 2 to 8 over the quantity pool. Size 8 is a hard mathematical
|
| 45 |
+
ceiling — with 7 SI base dimensions, no irreducible relation can involve more
|
| 46 |
+
than 8 quantities (a relation of `k` quantities needs rank `k−1 ≤ 7`).
|
| 47 |
+
|
| 48 |
+
| # quantities | rows | note |
|
| 49 |
+
|---|---|---|
|
| 50 |
+
| 2 | 22 | pairs with identical dimensions (e.g. energy vs torque) |
|
| 51 |
+
| 3 | 593 | e.g. `F = k₀·m·a`, `E = k₀·m·v²` |
|
| 52 |
+
| 4 | 17,325 | e.g. Reynolds, Weber, Strouhal numbers |
|
| 53 |
+
| 5 | 280,646 | |
|
| 54 |
+
| 6 | 813,919 | |
|
| 55 |
+
| 7 | 1,140,445 | |
|
| 56 |
+
| 8 | 72,370 | must span all 7 base dimensions at once (rare) |
|
| 57 |
+
| **Total** | **2,325,320** | |
|
| 58 |
+
|
| 59 |
+
Of these, **46,720 are flagged `plausible`** (a conservative gate for genuine
|
| 60 |
+
physical candidates) and **20 correspond to classically named laws / numbers**.
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## Provenance & method
|
| 65 |
+
|
| 66 |
+
Every quantity is represented as a vector of integer exponents over the seven SI
|
| 67 |
+
base dimensions. A **dimensionless relation** among a set of quantities is an
|
| 68 |
+
integer null vector of the matrix whose columns are those dimension vectors.
|
| 69 |
+
|
| 70 |
+
A row in this dataset is a **circuit** of that "dimensional matroid": a
|
| 71 |
+
*minimal* dependent set, where every quantity is essential (removing any one
|
| 72 |
+
destroys the dimensionless product) and which is not a product of smaller
|
| 73 |
+
relations. Formally, a set of `n` quantities is a circuit iff its dimension
|
| 74 |
+
matrix has rank `n−1` and the (unique) null vector has full support. Each
|
| 75 |
+
circuit corresponds to exactly **one** irreducible dimensionless number, and the
|
| 76 |
+
catalogue enumerates all of them without duplication.
|
| 77 |
+
|
| 78 |
+
Dimensional analysis fixes only the *form* of a law up to `k₀`; it does not
|
| 79 |
+
prove physical existence. That is why the dataset ships with relevance metrics
|
| 80 |
+
rather than claiming every row is a real law.
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
## Dataset structure
|
| 85 |
+
|
| 86 |
+
A single split (`default`) backed by `data/circuits.parquet` (~108 MB, zstd).
|
| 87 |
+
|
| 88 |
+
| column | type | description |
|
| 89 |
+
|---|---|---|
|
| 90 |
+
| `size` | int | number of quantities in the relation (2–8) |
|
| 91 |
+
| `keys` | string | sorted, comma-separated quantity keys (the relation's identity) |
|
| 92 |
+
| `symbols` | string | the quantities' symbols, `·`-joined |
|
| 93 |
+
| `domains` | string | distinct physics domains involved, comma-separated |
|
| 94 |
+
| `pi` | string | the dimensionless number (Π group), e.g. `ℓ·v·ρ·μ⁻¹` |
|
| 95 |
+
| `equation` | string | the relation solved for one quantity, e.g. `ℓ = k₀ · v⁻¹·ρ⁻¹·μ` |
|
| 96 |
+
| `name` | string \| null | recognized name of the law / dimensionless number, if any |
|
| 97 |
+
| `n_const` | int | number of universal constants (c₀, G, h, k_B, e, N_A) involved |
|
| 98 |
+
| `n_domains` | int | number of distinct physics domains bridged |
|
| 99 |
+
| `max_exp` | int | largest absolute exponent in the monomial |
|
| 100 |
+
| `exp_l1` | int | sum of absolute exponents (monomial "weight") |
|
| 101 |
+
| `complexity` | float | composite complexity score (lower = simpler) |
|
| 102 |
+
| `score` | float | composite physicality score (higher = more plausible) |
|
| 103 |
+
| `plausible` | bool | passes the conservative physicality gate (see below) |
|
| 104 |
+
| `exponents` | string (JSON) | `{quantity_key: integer_exponent}` for the dimensionless monomial |
|
| 105 |
+
|
| 106 |
+
### The `plausible` gate
|
| 107 |
+
|
| 108 |
+
A row is flagged `plausible = true` when it satisfies **all** of:
|
| 109 |
+
|
| 110 |
+
- `size ≤ 5` — real laws rarely couple more than five quantities;
|
| 111 |
+
- `n_const ≤ 1` — a genuine law uses at most one universal constant;
|
| 112 |
+
- `n_domains ≤ 2` — at most one cross-domain bridge;
|
| 113 |
+
- `max_exp ≤ 3` and `exp_l1 ≤ 8` — small integer exponents.
|
| 114 |
+
|
| 115 |
+
This is intentionally conservative: it favours precision over recall. The
|
| 116 |
+
remaining ~2.28 M rows are kept so that the catalogue stays complete and
|
| 117 |
+
auditable, but the overwhelming majority are dimensional coincidences (e.g.
|
| 118 |
+
`m = k₀ · c⁻¹·k_B`), not physical laws.
|
| 119 |
+
|
| 120 |
+
### The `score`
|
| 121 |
+
|
| 122 |
+
A heuristic that rewards simplicity (few quantities, small exponents, single
|
| 123 |
+
domain, at most one constant). Sorting `plausible` rows by `score DESC` surfaces
|
| 124 |
+
textbook laws and named dimensionless numbers first.
|
| 125 |
+
|
| 126 |
+
---
|
| 127 |
+
|
| 128 |
+
## Example rows
|
| 129 |
+
|
| 130 |
+
| equation | pi | name | size | score | plausible |
|
| 131 |
+
|---|---|---|---|---|---|
|
| 132 |
+
| `m = k₀ · a⁻¹·F` | `m·a·F⁻¹` | Newton 2nd law | 3 | 9.0 | ✅ |
|
| 133 |
+
| `m = k₀ · v⁻²·E` | `m·v²·E⁻¹` | kinetic energy | 3 | 7.8 | ✅ |
|
| 134 |
+
| `m = k₀ · E·c₀⁻²` | `m·E⁻¹·c₀²` | mass-energy (E=mc²) | 3 | 6.7 | ✅ |
|
| 135 |
+
| `ℓ = k₀ · v⁻¹·ρ⁻¹·μ` | `ℓ·v·ρ·μ⁻¹` | Reynolds number | 4 | 8.0 | ✅ |
|
| 136 |
+
| `E = k₀ · f·h` | `E·f⁻¹·h⁻¹` | Planck relation (E=hf) | 3 | — | ✅ |
|
| 137 |
+
| `i = k₀ · U·R⁻¹` | `i·U⁻¹·R` | Ohm's law | 3 | — | ✅ |
|
| 138 |
+
|
| 139 |
+
---
|
| 140 |
+
|
| 141 |
+
## The quantity pool (60 quantities, 7 base dimensions)
|
| 142 |
+
|
| 143 |
+
Base dimensions: **M** (mass), **L** (length), **T** (time), **Θ** (temperature),
|
| 144 |
+
**I** (electric current), **N** (amount of substance), **J** (luminous intensity).
|
| 145 |
+
|
| 146 |
+
### Mechanics
|
| 147 |
+
| symbol | quantity | dimensions |
|
| 148 |
+
|---|---|---|
|
| 149 |
+
| m | mass | M |
|
| 150 |
+
| ℓ | length | L |
|
| 151 |
+
| t | time | T |
|
| 152 |
+
| v | velocity | L·T⁻¹ |
|
| 153 |
+
| a | acceleration | L·T⁻² |
|
| 154 |
+
| g | gravitational acceleration | L·T⁻² |
|
| 155 |
+
| F | force | M·L·T⁻² |
|
| 156 |
+
| E | energy | M·L²·T⁻² |
|
| 157 |
+
| τ | torque | M·L²·T⁻² |
|
| 158 |
+
| P | power | M·L²·T⁻³ |
|
| 159 |
+
| p | momentum | M·L·T⁻¹ |
|
| 160 |
+
| Lₐ | angular momentum | M·L²·T⁻¹ |
|
| 161 |
+
| S | action | M·L²·T⁻¹ |
|
| 162 |
+
| J | moment of inertia | M·L² |
|
| 163 |
+
| P_p | pressure | M·L⁻¹·T⁻² |
|
| 164 |
+
| ρ | mass density | M·L⁻³ |
|
| 165 |
+
| μ | dynamic viscosity | M·L⁻¹·T⁻¹ |
|
| 166 |
+
| ν | kinematic viscosity | L²·T⁻¹ |
|
| 167 |
+
| ω | angular velocity | T⁻¹ |
|
| 168 |
+
| f | frequency | T⁻¹ |
|
| 169 |
+
| k | spring constant | M·T⁻² |
|
| 170 |
+
| γ | surface tension | M·T⁻² |
|
| 171 |
+
| A | area | L² |
|
| 172 |
+
| V | volume | L³ |
|
| 173 |
+
| Q | volumetric flow rate | L³·T⁻¹ |
|
| 174 |
+
|
| 175 |
+
### Thermodynamics
|
| 176 |
+
| symbol | quantity | dimensions |
|
| 177 |
+
|---|---|---|
|
| 178 |
+
| Θ | temperature | Θ |
|
| 179 |
+
| S_e | entropy | M·L²·T⁻²·Θ⁻¹ |
|
| 180 |
+
| C | heat capacity | M·L²·T⁻²·Θ⁻¹ |
|
| 181 |
+
| c | specific heat capacity | L²·T⁻²·Θ⁻¹ |
|
| 182 |
+
| κ | thermal conductivity | M·L·T⁻³·Θ⁻¹ |
|
| 183 |
+
| α | thermal diffusivity | L²·T⁻¹ |
|
| 184 |
+
| β | thermal expansion coefficient | Θ⁻¹ |
|
| 185 |
+
|
| 186 |
+
### Electromagnetism
|
| 187 |
+
| symbol | quantity | dimensions |
|
| 188 |
+
|---|---|---|
|
| 189 |
+
| q | electric charge | T·I |
|
| 190 |
+
| i | electric current | I |
|
| 191 |
+
| U | electric potential | M·L²·T⁻³·I⁻¹ |
|
| 192 |
+
| R | electric resistance | M·L²·T⁻³·I⁻² |
|
| 193 |
+
| C_e | capacitance | M⁻¹·L⁻²·T⁴·I² |
|
| 194 |
+
| L_e | inductance | M·L²·T⁻²·I⁻² |
|
| 195 |
+
| E_f | electric field | M·L·T⁻³·I⁻¹ |
|
| 196 |
+
| B | magnetic flux density | M·T⁻²·I⁻¹ |
|
| 197 |
+
| Φ | magnetic flux | M·L²·T⁻²·I⁻¹ |
|
| 198 |
+
| ε | permittivity | M⁻¹·L⁻³·T⁴·I² |
|
| 199 |
+
| μ₀ | permeability | M·L·T⁻²·I⁻² |
|
| 200 |
+
| σ | electrical conductivity | M⁻¹·L⁻³·T³·I² |
|
| 201 |
+
| ρ_e | electrical resistivity | M·L³·T⁻³·I⁻² |
|
| 202 |
+
|
| 203 |
+
### Chemistry
|
| 204 |
+
| symbol | quantity | dimensions |
|
| 205 |
+
|---|---|---|
|
| 206 |
+
| n | amount of substance | N |
|
| 207 |
+
| M_m | molar mass | M·N⁻¹ |
|
| 208 |
+
| c_n | molar concentration | L⁻³·N |
|
| 209 |
+
| E_m | molar energy | M·L²·T⁻²·N⁻¹ |
|
| 210 |
+
| R | molar gas constant | M·L²·T⁻²·Θ⁻¹·N⁻¹ |
|
| 211 |
+
| z | catalytic activity | T⁻¹·N |
|
| 212 |
+
|
| 213 |
+
### Photometry
|
| 214 |
+
| symbol | quantity | dimensions |
|
| 215 |
+
|---|---|---|
|
| 216 |
+
| I_v | luminous intensity | J |
|
| 217 |
+
| E_v | illuminance | L⁻²·J |
|
| 218 |
+
| L_v | luminance | L⁻²·J |
|
| 219 |
+
|
| 220 |
+
### Universal constants
|
| 221 |
+
| symbol | quantity | dimensions |
|
| 222 |
+
|---|---|---|
|
| 223 |
+
| c₀ | speed of light | L·T⁻¹ |
|
| 224 |
+
| G | gravitational constant | M⁻¹·L³·T⁻² |
|
| 225 |
+
| h | Planck constant | M·L²·T⁻¹ |
|
| 226 |
+
| k_B | Boltzmann constant | M·L²·T⁻²·Θ⁻¹ |
|
| 227 |
+
| e | elementary charge | T·I |
|
| 228 |
+
| N_A | Avogadro constant | N⁻¹ |
|
| 229 |
+
|
| 230 |
+
---
|
| 231 |
+
|
| 232 |
+
## Loading
|
| 233 |
+
|
| 234 |
+
```python
|
| 235 |
+
import pandas as pd
|
| 236 |
+
df = pd.read_parquet("data/circuits.parquet")
|
| 237 |
+
|
| 238 |
+
# the physically-plausible laws, best first
|
| 239 |
+
laws = df[df.plausible].sort_values("score", ascending=False)
|
| 240 |
+
|
| 241 |
+
# every relation involving viscosity, within mechanics
|
| 242 |
+
df[df["keys"].str.contains("viscosity") & (df.domains == "mechanics")]
|
| 243 |
+
```
|
| 244 |
+
|
| 245 |
+
Or with the 🤗 `datasets` library:
|
| 246 |
+
|
| 247 |
+
```python
|
| 248 |
+
from datasets import load_dataset
|
| 249 |
+
ds = load_dataset("<user>/vashy", split="train")
|
| 250 |
+
```
|
| 251 |
+
|
| 252 |
+
---
|
| 253 |
+
|
| 254 |
+
## Intended uses
|
| 255 |
+
|
| 256 |
+
- **Symbolic regression & scientific ML**: a dimensionally-valid hypothesis
|
| 257 |
+
space / prior over candidate equations.
|
| 258 |
+
- **Physics education**: browsing dimensionless numbers and their structure.
|
| 259 |
+
- **Benchmarking**: testing whether models can recover known laws from
|
| 260 |
+
dimensional constraints.
|
| 261 |
+
|
| 262 |
+
## Limitations & caveats
|
| 263 |
+
|
| 264 |
+
- **Dimensional consistency ≠ physical truth.** Most rows are coincidences; use
|
| 265 |
+
`plausible` and `score`, and validate against physics.
|
| 266 |
+
- **The constant `k₀` is undetermined** by dimensional analysis.
|
| 267 |
+
- **Only single dimensionless numbers are represented.** When a phenomenon needs
|
| 268 |
+
two or more independent Π groups, the true law is `Π₁ = f(Π₂, …)` with an
|
| 269 |
+
arbitrary function `f`; the dataset lists the individual irreducible Π groups
|
| 270 |
+
(the circuits), not the functional relation between them.
|
| 271 |
+
- **Pool-dependent.** The catalogue is exhaustive *for this 60-quantity pool*;
|
| 272 |
+
a different pool yields a different catalogue.
|
| 273 |
+
- Deliberate dimensional collisions in the pool (energy vs torque, action vs
|
| 274 |
+
angular momentum, entropy vs heat capacity, acceleration vs gravity) are real
|
| 275 |
+
and produce legitimate size-2 identities.
|
| 276 |
+
|
| 277 |
+
## License
|
| 278 |
+
|
| 279 |
+
Released under **CC-BY-4.0**. The underlying facts are mathematical
|
| 280 |
+
consequences of SI dimensional definitions.
|
| 281 |
+
|
| 282 |
+
## Citation
|
| 283 |
+
|
| 284 |
+
```bibtex
|
| 285 |
+
@misc{vashy_dimensional_equations,
|
| 286 |
+
title = {Vashy: A Complete Catalogue of Dimensionally-Consistent Physics Equations},
|
| 287 |
+
note = {Generated via circuits of the dimensional matroid (Vaschy--Buckingham pi theorem)},
|
| 288 |
+
year = {2026}
|
| 289 |
+
}
|
| 290 |
+
```
|