Skip to content

Releases: worktif/matter_framework

Present-Day Energy Budget and Entanglement Component Refine

16 Dec 14:43
0ce12af

Choose a tag to compare

Summary

This pull request updates the fiducial cosmological / entanglement setup, regenerates the background diagnostics, and wires the analysis output directly into the experimental_data tree. The new configuration emphasizes a non‑negligible entanglement component (at the few‑percent level of the critical density today), a localized deformation of the equation of state over a finite interval in e‑folds, and an explicit diagnostic of the relative Hubble‑rate modification.

Obsolete SHA256 checksum files for the old experimental data snapshot are removed, since they are no longer consistent with the regenerated background and diagnostics.


Physics‑Level Changes

1. Present‑Day Energy Budget and Entanglement Component

The background Friedmann cosmology remains anchored to a standard ΛCDM‑like split in radiation, pressureless matter, and vacuum energy:

  • Omega{r0} = 9.2 times 10^{-5} (radiation
  • Omega{m0} = 0.315 (non‑relativistic matter)
  • Omega{Lambda0} = 0.684 (cosmological constant / dark energy)

What changes is the treatment of the entanglement sector:

  • The present‑day entanglement density parameter is increased from a negligible value Omega_{text{ent},0} sim 10^{-5} to
    Omega_{text{ent},0} simeq 0.05,
    i.e. roughly 5% of the critical density at (z=0).

This has two immediate physical consequences:

  1. The entanglement contribution is no longer a tiny perturbation on top of ΛCDM; it becomes a subdominant but observable component in the late‑time energy budget.
  2. The backreaction of the entanglement sector on the Hubble rate is enhanced, making its imprint on H(N) and on the effective equation of state w_{text{ent}}(N) clearly visible in the diagnostic plots.

In other words, the example ceases to be a “toy” nearly‑ΛCDM case and becomes a genuinely entanglement‑modified FRW background with a percent‑level extra component.


2. Deformation of the Entanglement Equation of State

The entanglement sector is described by an effective equation of state w_{text{ent}}(N) whose deviation from a reference value is parameterized by:

  • A dimensionless deformation amplitude epsilon,
  • A characteristic width in e‑folds Delta N,
  • An onset location N_0 (in e‑folds relative to the reference pivot).

In this PR:

  • epsilonis increased from (0.01) t epsilon = 0.05, so that the entanglement equation of state is more strongly deformed from its reference value. Instead of an almost imperceptible modulation of w_{text{ent}}, we now probe a deformation large enough to have a clear dynamical effect on the background expansion.

  • The deformation is localized in e‑fold time:

    • The plateau length in e‑folds is reduced from a very long interval ((Delta N sim 50), i.e. an almost constant deformation across a huge range in (a)) to a finite segment, Delta N = 4.0,

    • meaning the entanglement‑induced modification is concentrated in a narrow band of e‑folds instead of smeared over nearly the entire history.

    • The center/onset N_0 is shifted from -3 to N_0 = -4.0,

    • i.e. the entanglement deformation becomes active a few e‑folds before the reference epoch N=0. This is chosen so that the “interesting” dynamics take place in the observable window around the pivot scale, rather than far away on a long quasi‑de Sitter plateau.

Physically, the background now exhibits a localized entanglement‑driven feature: over a finite interval Delta N around N_0, the effective pressure‑to‑density ratio of the entanglement component deviates significantly from its baseline, and this leaves a noticeable imprint on both H(N) and the conservation diagnostics.


3. Hubble Rate Diagnostics and Conservation Residual

With the new background configuration:

  • The Hubble‑rate evolution H(N) is recomputed and stored as a function of e‑folds.
  • A separate diagnostic Delta H / H (or equivalent) is exported as a CSV and associated in the manifest with a dedicated figure:
    • N_delta_H.csv → Relative_Hubble_Modification.png

This diagnostic explicitly tracks the fractional modification of the Hubble parameter due to the presence and dynamics of the entanglement sector, relative to a suitable reference (e.g. baseline without deformation or without entanglement). It provides a direct measure of:
frac{Delta H}{H}(N) = frac{H_{text{with ent}}(N) - H_{text{ref}}(N)}{H_{text{ref}}(N)},
and is tailored to highlight where in e‑fold space the entanglement sector most strongly distorts the expansion history.

The conservation residual diagnostic N_{text{conservation_residual}} is also regenerated:

  • This quantity encodes the residual of the background conservation law (typically derived from
    nabla_mu T^{munu}_{text{total}} = 0,
    or its e‑fold‑parameterized equivalent).
  • The updated CSV reflects the new background solution with the enhanced entanglement fraction and localized equation‑of‑state deformation.
  • Numerically small residuals throughout the interval confirm that the modified background remains consistent with the conservation equations for the total stress‑energy tensor.

In short, the diagnostics now correspond to a self‑consistent, entanglement‑modified FRW solution with percent‑level entanglement energy and a localized EoS deformation.


4. Output Routing to Experimental Data Tree

The analysis entry point now writes:

  • All background and diagnostic CSVs into the experimental_data/data directory.
  • All figures into the experimental_data/plots directory.

From a physics perspective, this means:

  • The shipped experimental bundle under experimental_data directly corresponds to a single, well‑defined background model (the one defined by the updated Omega’s and entanglement parameters).
  • Regenerating the experimental data (numerical background + plots) is as simple as re‑running the analysis with this parameter set; the directories serve as the canonical “snapshot” of this particular cosmological model.

5. Removal of Obsolete SHA256 Checksums

The SHA256 checksum file(s) that were previously included for the experimental data are removed.

  • Those checksums were tied to an older background solution different (Omega_{text{ent},0}, different (epsilon), different Delta N, etc.).
  • After updating the entanglement energy fraction, the equation‑of‑state deformation, and regenerating diagnostics like H(N), Delta H/H, and the conservation residual, the old checksums no longer correspond to the actual physical data in experimental_data.
  • Keeping them would suggest a false “integrity” relation between the new numerical background and the old hashes.

From a physics / reproducibility standpoint, this PR chooses physical fidelity over stale checksums: the numerical content of the experimental bundle is now internally consistent with the stated cosmological model, even though no SHA256 registry is shipped for this snapshot.

A future PR can regenerate and reintroduce checksums for this updated background if a hash‑based provenance layer is desired.


Impact for Users of the Physics Framework

  • The default example now corresponds to a non‑negligible entanglement sector that contributes mathcal{O}(5%) of the critical density today and has a clearly visible dynamical effect on the expansion history.
  • The entanglement equation of state exhibits a finite, localized deformation in e‑folds, rather than a nearly constant, near‑zero perturbation. This makes the induced structure in H(N) and w_{text{ent}}(N) explicit in the plots.
  • The new N_delta_H diagnostic and its plot provide a direct quantification of the entanglement‑induced distortion of the Hubble rate.
  • The conservation residual has been recomputed for this background, confirming the consistency of the modified energy–momentum content with the FRW equations.
  • All of these quantities are written into the experimental data tree, so the shipped CSVs and PNGs correspond to exactly this entanglement‑modified cosmological model, without stale checksums from previous configurations.

What's Changed

  • Present‑Day Energy Budget and Entanglement Component Changes by @morozow in #3

Full Changelog: v4.1.1...v4.2.1

v4.1.1 – Type: data-complete (no core changes)

23 Oct 17:39

Choose a tag to compare

What's new

  • Added the actual CSV/NPZ data used in the paper's figures
  • Included regenerated plots, MANIFEST.txt, and SHA256 checksums
  • Added README.md, params.json, diagnostics.json

Assets

  • experimental_data/data/*.csv (+ SHA256SUMS.txt), experimental_data/data/extended/*.csv (+ SHA256SUMS.txt), all_arrays_v411.npz, MANIFEST.txt
  • experimental_data/plots/*.png (+ SHA256SUMS.txt), experimental_data/plots/extended/*.png (+ SHA256SUMS.txt)
  • params.json, diagnostics.json

Reproduce / verify

# optional regeneration
python -m src.analysis
# integrity
shasum -a 256 ./src/experimental_data/data/* | diff - ./src/experimental_data/data/SHA256SUMS.txt

Notes

  • Units: N = ln a; k in code units (pivot corresponds to 0.05 Mpc⁻¹).
  • Spectra reported are post-act (pre-act has no freeze-out by construction).

Citation

Please cite the manuscript and this data/software release (Zenodo DOI).

Release v4.1.0 – Reproducible Experimental Artifacts, CSV/NPZ Data, and Integrity Manifests

23 Oct 13:39
ef54497

Choose a tag to compare

Release v4.1.0 – Reproducible Experimental Artifacts, CSV/NPZ Data, and Integrity Manifests

DOI (Zenodo): to be minted on upload
Tag: v4.1.0
Type: Minor release (no breaking changes to physics core)

Summary

This release makes the experimental section fully reproducible and citable. It exports the source arrays behind all figures as CSV and an NPZ bundle, emits MANIFEST mappings and SHA256 integrity files, and standardizes plot generation and labels to match the manuscript. The physics equations and parameter semantics are unchanged.

What's New

  • Data exports (machine-readable):
  • Background series: N_Hubble_rate.csv, N_conformal_time_eta.csv, N_epsH.csv, N_rho_ent.csv, N_w_ent.csv, N_z2_MukhanovSasaki.csv, N_conservation_residual.csv.
  • Spectra & diagnostics: k_vs_Nstar.csv, k_vs_Pzeta_ring.csv, k_vs_Pzeta_no_ring.csv, k_vs_Pt.csv, k_vs_r.csv, k_vs_n_t.csv, k_vs_scalar_tilt.csv, k_vs_ring_down_damping.csv, k_vs_consistency_ratio.csv, k_vs_consistency_target.csv.
  • Compact bundle: all_arrays_v410.npz (all arrays + parameters + diagnostics).
  • Integrity & provenance:
  • MANIFEST.txt maps each CSV/NPZ to the corresponding figure.
  • SHA256SUMS.txt shipped for /data and /plots (byte-for-byte verification).
  • Plotting/I-O modularization:
  • Centralized figure rendering and file writing; one plot per figure; labels mirror manuscript notation.

Integrity check

shasum -a 256 experimental_data/data/* > LOCAL_SHA256SUMS.txt

then compare with the shipped SHA256SUMS.txt.

shasum -a 256 experimental_data/plots/* > LOCAL_SHA256SUMS.txt

then compare with the shipped SHA256SUMS.txt.

Reproducibility (One-Command Run)

python -m src.analysis
# Outputs to:
#   experimental_data/data/  (CSV, NPZ, MANIFEST, SHA256SUMS)
#   experimental_data/plots/ (PNG, SHA256SUMS)

Environment: Python ≥ 3.10, NumPy, Matplotlib (no GPU, no internet). The analysis is deterministic (no RNG). Re-running produces identical files; SHA256SUMS confirm stability.

Physics & Diagnostics (guarantees preserved in v4.1.0)

  • Continuity identity: residual R(N)=d\ln\rho_{\mathrm{ent}}/dN + 3(1+w_{\mathrm{ent}}) is at machine zero over the interior of the grid; see N_conservation_residual.csv and Conservation_Residual.png.
  • Stability: z^2=2a^2\epsilon_H/c_s^2>0 within the admissible window; N_z2_MukhanovSasaki.csv.
  • Freeze-out map: c_s k=aH solved with robust bracketing; k_vs_Nstar.csv monotone over the band.
  • Generalized consistency: numerical k_vs_consistency_ratio.csv tracks k_vs_consistency_target.csv near the pivot within a few percent.

Data Availability

Statement: All data generated or analysed in this study are included as CSV files and an NPZ bundle in this release. Each file's role is documented in MANIFEST.txt. SHA256 checksums are provided for integrity verification.

For Zenodo, set Access right = Open, and link the concept DOI in the manuscript's Data Availability section.

Compatibility & API

  • No breaking changes to physics routines or parameter names.
  • Plotting and file I/O moved to utility modules; only the analysis driver imports them.
  • Existing scripts that call physics functions directly are unaffected.

Known Issues / Notes

  • Glyph warnings from Matplotlib may appear on some systems; they do not affect data.
  • Pre-act window: by construction (baseline parameters), the pre-act epoch is decelerating (\epsilon_H\ge1); freeze-out is physically undefined there. All reported spectra are post-act. This is intentional and documented in the manuscript.

Versioning

Semantic Versioning (SemVer).
This release: 4.1.0 (features; no API breaks).

How to Cite

Marozau, R. (2025). Self-Generated Stress–Energy Experimental Artifacts (v4.1.0).

License

See LICENSE in the repository (applies to code and data unless otherwise stated).

Acknowledgements

Thanks to the reviewers for prompting stronger data-availability and reproducibility practices. This release implements those recommendations end-to-end.

Change Log (since v4.0.x)

  • Add deterministic CSV/NPZ exports for all analysis arrays.
  • Add MANIFEST and SHA256SUMS for /data and /plots.
  • Centralize plotting and file I/O; align plot labels with manuscript.
  • Keep physics equations, parameter semantics, and calibration logic unchanged.

Self‑Instantiated Stress–Energy: Initial Modeling Release – v4.0.6

14 Oct 22:25

Choose a tag to compare

v4.0.6 – Initial Research Release

This first release provides a self-contained Python module for exploring a closed-system cosmology where stress–energy emerges dynamically from decoherence. It includes background evolution, freeze-out mapping, primordial spectra, diagnostics, and publication-grade plots.

Key capabilities

  • Computes H(N), ε_H(N), conformal time, and entanglement-fluid dynamics with a validated w_ent model.
  • Robust freeze-out root finding for c_s k = aH with windowed k-band selection.
  • Scalar and tensor power spectra with occupancy-enhanced amplitudes and finite-time ring-down.
  • Amplitude calibration to As at the Planck pivot while preserving r-invariance.
  • Diagnostics: conservation residuals, stability via z^2, generalized consistency r/(-8 n_t), n_s - 1.
  • Reproducible figure generation saved to experimental_data/plots.

Reproducibility and responsibility notes

  • Deterministic numerics with explicit parameterization and windowed k-range ensure unique, physical roots.
  • Semi-classical bound enforced: H_*/M_pl < 1e-2 (assertion halts runs that violate applicability).
  • Applicability conditions surfaced via diagnostics; users should verify small |η_H| at freeze-out for selected modes.
  • Results are model-dependent and intended for research; interpret within the stated assumptions only.

Getting started

  • Requirements: Python >= 3.8; NumPy >= 2.3.3; Matplotlib >= 3.10.7.
  • Install: pip install . in a fresh virtual environment.
  • Run: python -m src.analysis to produce datasets and plots.

Citations and use

  • If you use this module, cite the associated manuscript "Self-Instantiated Stress–Energy: A Predictive Framework for Matter and Metric in Closed-System Cosmology".
  • Please include the version tag v4.0.6 in your methods for traceability.

Known limitations

  • Single-fluid entanglement sector and constant c_s for scalars; extensions may require revisiting stability and calibration.
  • Numerical derivatives use finite stencils; extreme parameter choices may require higher resolution.

License and contributions

  • Released for academic research. Open issues and pull requests are welcome with clear numerical tests and reproducibility notes.

Changelog

  • Added: background solver, freeze-out mapping, spectra with occupancy and ring-down, amplitude calibration, diagnostics suite, plotting pipeline.