A strict referee
for physics.
Plumb checks empirical comparisons and refuses hidden systematics or unstated assumptions — accelerating agents in physics as Lean did for mathematics.
Can one expansion history fit both galaxy distances and the local distance ladder?
13 DESI DR2 distance ratios, SH0ES’s H₀ and Planck’s sound horizon
Planck’s inferred H₀ and SH0ES exceed their joint χ² budget for every H₀ in the box. When Planck supplies the sound horizon instead, one shared set of parameters fits all 15 observations together.
View full modulecompare planck_vs_shoes_h0:
planck_2018_h0, shoes_2022_h0
~ flat_lcdm_hubble_network
at H0 in [60 km/s/Mpc, 80 km/s/Mpc],
r_d = 147.09 Mpc, Omega_m = 0.3
accept chi2 <= 16
expect conflict certified_enclosure
by consistency_graph
compare desi_shoes_rd_honest:
desi_dr2_bao, shoes_2022_h0,
planck_2018_rd ~ flat_lcdm_hubble_network
at H0 in [66 km/s/Mpc, 73.4 km/s/Mpc],
r_d in [145 Mpc, 149 Mpc],
Omega_m in [0.256, 0.32]
accept chi2 <= 25
expect compared
by consistency_graphWhat assumption turns 14,700 photon coincidences into a Bell violation?
Weihs et al. 1998: S = 2.73 ± 0.02 at about 5% detection efficiency
Only pairs detected on both sides entered the count. Plumb blocks the ordinary Gaussian test until it explicitly assumes those pairs fairly represent all emitted pairs.
View full modulemeasurement weihs_1998:
bell.chsh_s = 2.73 +- 0.02 {
assuming stat.gaussian_chsh
select truncate latent coincidence(
efficiency = eta_weihs)
}
compare weihs_naive:
weihs_1998 ~ chsh_bound(
local_hidden_variables.chsh_max)
accept excess <= 5
expect blocked unconsumed_bias
from weihs_1998.select
by gaussian_bound
compare weihs_fair_sampling:
weihs_1998 ~ chsh_bound(
local_hidden_variables.chsh_max)
assuming stat.fair_sampling
accept excess <= 5
expect conflict declared_budget_exceeded
by gaussian_boundCan two Standard Model predictions count as independent tests of muon g−2?
One 2025 world average, compared with the 2020 and 2025 theory totals
The same measurement lies 5.76σ from the 2020 prediction and 0.60σ from the 2025 prediction. Both comparisons reuse that measurement, and the predictions share inputs, so Plumb blocks a joint fit with unspecified correlations.
View full moduleprediction a_mu_sm_2020: lepton.a_mu_e11
= 116591810 +- 43 {
assuming stat.gaussian_theory
derived from
benchmark.alpha_and_lepton_masses,
benchmark.qed_wp20, benchmark.ew_wp20,
benchmark.hlbl_wp20,
benchmark.hvp_lo_dispersive_wp20
}
prediction a_mu_sm_2025: lepton.a_mu_e11
= 116592033 +- 62 {
assuming stat.gaussian_theory
derived from
benchmark.alpha_and_lepton_masses,
benchmark.qed_wp25, benchmark.ew_wp25,
benchmark.hlbl_wp25,
benchmark.hvp_lo_lattice_wp25
}
compare muon_vs_both_branches: a_mu_exp
~ joint(a_mu_sm_2020, a_mu_sm_2025)
accept chi2 <= 9
expect blocked unknown_dataset_dependence
by gaussian_ldltDoes the Hulse–Taylor pulsar’s orbit shrink at the rate Einstein predicted?
35 years of timing PSR B1913+16, with a correction for Galactic motion
With the Galactic correction fixed at its central value, the quadrupole prediction misses the timing budget. Allowing that bounded systematic to move within one quoted uncertainty brings it inside.
View full modulebounded b1913_galactic:
abs(delta) <= galactic_half_width
assuming regime.b1913_galactic_box
measurement b1913_timing:
orbital.apparent_pbdot {
value b1913_apparent
shared b1913_galactic along ones
noise gaussian(sigma = b1913_stat_sigma)
assuming stat.b1913_timing
}
theory b1913_quadrupole {
assume ontology.b1913_gr_masses
predict orbital.apparent_pbdot =
b1913_intrinsic + galactic_correction
}
compare b1913_timing_check:
b1913_timing ~ b1913_quadrupole
accept chi2 <= 1
expect systematics_limited
by consistency_graphWhat Plumb enforces
Four invariants checked mechanically on every run.
- Assumptions stay visible.
- A raw measurement cannot carry a model. Results inferred under ΛCDM, a fiducial template or fair sampling must say so, and every theory compared against them must grant those premises.
- Noise and bounds never mix.
- Statistical errors combine through exact covariance algebra. Worst-case systematic bounds are evaluated over their whole interval, never added in quadrature.
- Shared errors are counted once.
- Calibrations shared between measurements add coherently and cancel when differenced. Circular calibration and correlated results posing as independent ones are refused.
- Every verdict is exact and auditable.
- No synthetic scores. Each check returns compared, conflict, systematics-limited or blocked with a reason, recorded in a SHA‑256 pinned receipt.
Designed to work with Lean 4
Plumb checks the empirical and statistical plumbing — units, shared biases, covariance,
calibration lineage, and certified intervals — and delegates general mathematical proofs to
Lean 4 (including Mathlib and Physlib) via plumb lean and
by lean. Together, they accelerate agents’ work in physics the way
Lean accelerated mathematical research.
Immediate roadmap
What is landing on the way to v0.1.0.
- Frozen v0.1.0 & WinGet
- Prebuilt v0.0.x binaries are already live via the installer scripts, Homebrew, Scoop, Cargo (plumb-lang), npm, and signed GitHub Releases. v0.1.0 adds WinGet and freezes the core syntax and receipt format.
- Broader standard library (std/)
- Expanding verified measurements, shared systematics, and bridges across cosmology, particle, atomic, optical, nuclear, condensed-matter, and gravitational physics.
- Deeper verification kernels
- Per-block budgets, certified quadrature, multi-probe nonlinear enclosures, and stronger predictive-surplus checks for automated theory search.
- Lean 4 & editor tooling
- Tighter round-trips with Lean 4, Mathlib, and Physlib, plus language-server diagnostics and VS Code support for writing .plumb modules.
Contribute
Plumb is new and evolving quickly — syntax, checkers, and conventions will keep changing
rapidly on the way to v0.1.0. Even at this early stage,
contributions bringing more published results, more fields of physics, and new modules
for the standard library (std/) are the most valuable help we
can get.
Contributions from both human physicists and AI agents are welcome, judged by provenance, explicit assumptions, and clean verification.