Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,279 @@
|
|
| 1 |
---
|
| 2 |
title: Cosmology Gravity Lab
|
| 3 |
emoji: 👀
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.1.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: other
|
| 11 |
short_description: 'Welcome to RFTs cosmology and gravity model '
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
short_description: 'Welcome to RFTs cosmology and gravity model '
|
| 12 |
+
thumbnail: >-
|
| 13 |
+
https://cdn-uploads.huggingface.co/production/uploads/685edcb04796127b024b4805/TOp7INVJ6aRZAKMDObeGn.png
|
| 14 |
---
|
| 15 |
|
| 16 |
+
|
| 17 |
+
# Rendered Frame Theory — Cosmology & Gravity Lab
|
| 18 |
+
|
| 19 |
+
This space is the primary interactive lab for **Rendered Frame Theory (RFT)** in cosmology and gravity.
|
| 20 |
+
Every module is driven by the same global coherence operator
|
| 21 |
+
|
| 22 |
+
\[
|
| 23 |
+
U_{\rm RFT} = \Phi\,\Gamma\,\mathcal{R}\,(1 - \Xi)\,\Psi
|
| 24 |
+
\]
|
| 25 |
+
|
| 26 |
+
and by the pair
|
| 27 |
+
|
| 28 |
+
\[
|
| 29 |
+
\Phi\Gamma = \Phi \cdot \Gamma
|
| 30 |
+
\]
|
| 31 |
+
|
| 32 |
+
which controls redshift mappings, lensing amplification and analytic rotation-curve scaling.
|
| 33 |
+
|
| 34 |
+
The point is simple: you see exactly how changing the **same five sliders** reshapes rotation curves, κ maps, BAO/CMB structure, black hole radii, and observer-driven collapse — in one coherent framework, not a zoo of unrelated “free parameters.”
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## 🔧 Global controls — what the sliders actually do
|
| 39 |
+
|
| 40 |
+
These are the sliders at the top of the app. They feed every tab.
|
| 41 |
+
|
| 42 |
+
- **Φ (phase / amplification)**
|
| 43 |
+
Overall strength of coherence amplification. Higher Φ makes RFT effects stronger across all modules (rotation curves, lensing, redshift, BH radius, collapse).
|
| 44 |
+
|
| 45 |
+
- **Γ (recursion scale)**
|
| 46 |
+
Sets the microscopic recursion strength that builds BAO/CMB-like structure. Through
|
| 47 |
+
\(\Gamma_{\rm eff} = \Gamma (1 + \Phi (1 - e^{-\Gamma}))\)
|
| 48 |
+
it controls the effective BAO scale \(r_{\rm BAO}\) and the ℓ-peaks.
|
| 49 |
+
|
| 50 |
+
- **ℛ (curvature gain)**
|
| 51 |
+
Large-scale curvature gain. Multiplies the entire coherence operator \(U_{\rm RFT}\). Increasing ℛ globally boosts cosmological deformations (expansion, BH radius, coherence crest strength).
|
| 52 |
+
|
| 53 |
+
- **Ξ (susceptibility)**
|
| 54 |
+
How close the system is to collapse. As Ξ → 1, \(U_{\rm RFT}\) is suppressed and the system is driven towards measurement / collapse. In the observer tab we explicitly track when Ξ_total crosses 1.
|
| 55 |
+
|
| 56 |
+
- **Ψ (observer phase weight)**
|
| 57 |
+
Strength of the observer’s coupling into the field. Higher Ψ tightens the link between coherence and what is actually rendered. It appears directly in \(U_{\rm RFT}\) and in the collapse drive \(\lambda_{\rm RFT}\).
|
| 58 |
+
|
| 59 |
+
Everything you see in the plots is just these five numbers being pushed through the same mathematics in different physical contexts.
|
| 60 |
+
|
| 61 |
+
---
|
| 62 |
+
|
| 63 |
+
## 🧩 Modules in this lab
|
| 64 |
+
|
| 65 |
+
Each module is a tab in the UI.
|
| 66 |
+
|
| 67 |
+
### 1. Coherence dashboard
|
| 68 |
+
|
| 69 |
+
- Shows the derived quantities from your current global sliders:
|
| 70 |
+
- \(U_{\rm RFT}\), \(\Phi\Gamma\), \(\Gamma_{\rm eff}\)
|
| 71 |
+
- \(r_{\rm BAO}\) (coherence BAO scale)
|
| 72 |
+
- Approximate CMB-like peaks \(\ell_1, \ell_2, \ell_3\)
|
| 73 |
+
- Two redshift mappings: exponential and compression
|
| 74 |
+
- Includes a BAO-scale vs \(\Gamma_{\rm eff}\) plot with your current point highlighted.
|
| 75 |
+
|
| 76 |
+
**What to look for:**
|
| 77 |
+
Dial Φ and Γ and watch how \(\Gamma_{\rm eff}\) and \(r_{\rm BAO}\) move together. This is the “engine room” of the whole lab.
|
| 78 |
+
|
| 79 |
+
---
|
| 80 |
+
|
| 81 |
+
### 2. Rotation curves (analytic)
|
| 82 |
+
|
| 83 |
+
- Standard baryonic rotation curve \(v_{\rm bar}(r) = \sqrt{GM(r)/r}\) for a disk + bulge.
|
| 84 |
+
- RFT curve:
|
| 85 |
+
\[
|
| 86 |
+
v_{\rm RFT}(r) = v_{\rm bar}(r)\,\sqrt{\max(\Phi\Gamma, 0)}.
|
| 87 |
+
\]
|
| 88 |
+
- You choose:
|
| 89 |
+
- Disk mass, bulge mass, disk scale length.
|
| 90 |
+
- The plot shows:
|
| 91 |
+
- “Baryons only” vs “RFT amplified”.
|
| 92 |
+
- A 220–240 km/s band for Milky Way-like flatness.
|
| 93 |
+
|
| 94 |
+
**What to look for:**
|
| 95 |
+
How much of the “dark matter” effect can be mimicked purely by \(\Phi\Gamma\) without touching the baryonic profile.
|
| 96 |
+
|
| 97 |
+
---
|
| 98 |
+
|
| 99 |
+
### 3. RFT gravity disk sim (N-body toy)
|
| 100 |
+
|
| 101 |
+
- N-body toy galaxy disk with:
|
| 102 |
+
- Central mass + particle disk.
|
| 103 |
+
- Same initial conditions evolved with:
|
| 104 |
+
- Newtonian gravity.
|
| 105 |
+
- RFT-deformed gravity,
|
| 106 |
+
\[
|
| 107 |
+
g_{\rm RFT} = \tfrac{1}{2}\left(g_N + \sqrt{g_N^2 + 4 g_N a_0}\right),
|
| 108 |
+
\]
|
| 109 |
+
where \(a_0\) is tied to \(\Gamma_{\rm eff}\).
|
| 110 |
+
- Outputs:
|
| 111 |
+
- Rotation curves for Newton vs RFT.
|
| 112 |
+
- Final spatial distribution plots for both runs.
|
| 113 |
+
|
| 114 |
+
**What to look for:**
|
| 115 |
+
Whether the RFT run can sustain a flat, high-velocity outer disk without inserting a “dark halo,” purely by changing the gravitational law via \(\Gamma_{\rm eff}\).
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
+
### 4. Lensing κ maps
|
| 120 |
+
|
| 121 |
+
- Computes a κ map for a Gaussian or Plummer lens using:
|
| 122 |
+
- Standard critical density:
|
| 123 |
+
\[
|
| 124 |
+
\Sigma_{\rm crit} = \frac{c^2}{4\pi G} \frac{D_s}{D_l D_{ls}}.
|
| 125 |
+
\]
|
| 126 |
+
- RFT convergence:
|
| 127 |
+
\[
|
| 128 |
+
\kappa_{\rm RFT} = \frac{\Sigma}{\Sigma_{\rm crit}} (\Phi\Gamma).
|
| 129 |
+
\]
|
| 130 |
+
- Uses `astropy` distances if available; falls back to a simple mapping otherwise.
|
| 131 |
+
|
| 132 |
+
**What to look for:**
|
| 133 |
+
How κ_RFT scales with \(\Phi\Gamma\) at fixed baryonic mass profile. This is the transparent alternative to “dark lens” explanations.
|
| 134 |
+
|
| 135 |
+
---
|
| 136 |
+
|
| 137 |
+
### 5. BAO + CMB (toy recursion spectrum)
|
| 138 |
+
|
| 139 |
+
- Builds a toy recursion spectrum:
|
| 140 |
+
\[
|
| 141 |
+
P_{\rm RFT}(k) \propto k^{-1} \left[1 + \Phi\Gamma \cos\!\left(\frac{kD_A}{\sqrt{\Gamma_{\rm eff}}}\right)\right].
|
| 142 |
+
\]
|
| 143 |
+
- Reports:
|
| 144 |
+
- \(\Gamma_{\rm eff}\)
|
| 145 |
+
- \(r_{\rm BAO}\)
|
| 146 |
+
- Approximate harmonic peaks \((\ell_1, \ell_2, \ell_3)\).
|
| 147 |
+
|
| 148 |
+
**What to look for:**
|
| 149 |
+
How a single recursion parameter set (Φ, Γ, ℛ, Ξ, Ψ) maps to both the BAO scale and CMB-like peak spacing.
|
| 150 |
+
|
| 151 |
+
---
|
| 152 |
+
|
| 153 |
+
### 6. Redshift mapping
|
| 154 |
+
|
| 155 |
+
- Compares three curves:
|
| 156 |
+
- FRW baseline: \(z_{\rm metric} = z_{\rm obs}\)
|
| 157 |
+
- Exponential mapping:
|
| 158 |
+
\[
|
| 159 |
+
1 + z_{\rm eff} = e^{\Phi\Gamma}
|
| 160 |
+
\]
|
| 161 |
+
- Compression mapping:
|
| 162 |
+
\[
|
| 163 |
+
1 + z_{\rm RFT} = (1 + z_{\rm obs}) \frac{1}{1 + \Phi\Gamma}.
|
| 164 |
+
\]
|
| 165 |
+
- Plots \(z_{\rm rendered}\) vs \(z_{\rm obs}\) for your current ΦΓ.
|
| 166 |
+
|
| 167 |
+
**What to look for:**
|
| 168 |
+
How much “redshift stretch” can be reinterpreted as coherence/observer effect instead of a hard-wired expansion history.
|
| 169 |
+
|
| 170 |
+
---
|
| 171 |
+
|
| 172 |
+
### 7. Black holes & LISA coherence crest (toy)
|
| 173 |
+
|
| 174 |
+
- Classical Schwarzschild radius:
|
| 175 |
+
\[
|
| 176 |
+
R_S = \frac{2GM}{c^2}.
|
| 177 |
+
\]
|
| 178 |
+
- RFT radius:
|
| 179 |
+
\[
|
| 180 |
+
R_{\rm RFT} = U_{\rm RFT} R_S.
|
| 181 |
+
\]
|
| 182 |
+
- Adds a **coherence crest** on top of a toy LISA-band chirp by making \(\Phi\Gamma(t)\) peak around merger and perturb the frequency.
|
| 183 |
+
|
| 184 |
+
**What to look for:**
|
| 185 |
+
How a temporary spike in coherence would show up as a small, structured deviation from a GR chirp in the LISA band.
|
| 186 |
+
|
| 187 |
+
---
|
| 188 |
+
|
| 189 |
+
### 8. Observer field & collapse
|
| 190 |
+
|
| 191 |
+
- Effective susceptibility:
|
| 192 |
+
\[
|
| 193 |
+
\Xi_{\rm total} = \Xi_{\rm baseline} + \lambda_{\rm obs}\,\kappa_{\rm obs} + \Xi_{\rm slider}.
|
| 194 |
+
\]
|
| 195 |
+
- Collapse drive:
|
| 196 |
+
\[
|
| 197 |
+
\lambda_{\rm RFT} = \Phi\,\Gamma\,\Xi_{\rm total}\,\Psi.
|
| 198 |
+
\]
|
| 199 |
+
- The module:
|
| 200 |
+
- Plots Ξ(t) and λ_RFT(t).
|
| 201 |
+
- Flags whether Ξ_total ≥ 1 (“collapse triggered”) or not.
|
| 202 |
+
|
| 203 |
+
**What to look for:**
|
| 204 |
+
How much observer coherence κ_obs you need, at your chosen Φ, Γ, Ψ, to push the system over the collapse threshold.
|
| 205 |
+
|
| 206 |
+
---
|
| 207 |
+
|
| 208 |
+
### 9. Math & case notes
|
| 209 |
+
|
| 210 |
+
Static summary of:
|
| 211 |
+
|
| 212 |
+
- The defining equations used in the lab.
|
| 213 |
+
- How each module ties back to \(\Phi\Gamma\), \(U_{\rm RFT}\), and \(\Gamma_{\rm eff}\).
|
| 214 |
+
- Enough detail for anyone to trace what the app is doing without guessing.
|
| 215 |
+
|
| 216 |
+
---
|
| 217 |
+
|
| 218 |
+
### 10. Provenance
|
| 219 |
+
|
| 220 |
+
- Every run of a module logs:
|
| 221 |
+
- Module name
|
| 222 |
+
- Timestamp (UTC)
|
| 223 |
+
- Inputs (slider values, physical parameters)
|
| 224 |
+
- Outputs (key scalars)
|
| 225 |
+
- A **SHA-512 hash** over those fields
|
| 226 |
+
- Records are stored in memory and (when allowed) appended to a `*.jsonl` file.
|
| 227 |
+
|
| 228 |
+
You can inspect the table in the **Provenance** tab.
|
| 229 |
+
|
| 230 |
+
---
|
| 231 |
+
|
| 232 |
+
## ⚙️ Running the lab
|
| 233 |
+
|
| 234 |
+
Locally:
|
| 235 |
+
|
| 236 |
+
```bash
|
| 237 |
+
pip install -r requirements.txt
|
| 238 |
+
python app.py
|
| 239 |
+
On Hugging Face Spaces, the app runs automatically with gradio as defined in app_file: app.py.
|
| 240 |
+
|
| 241 |
+
Basic usage pattern:
|
| 242 |
+
1. Set your global coherence field (Φ, Γ, ℛ, Ξ, Ψ) at the top.
|
| 243 |
+
2. Pick a tab (rotation curves, lensing, disk sim, etc.).
|
| 244 |
+
3. Adjust the physical parameters (masses, distances, timesteps).
|
| 245 |
+
4. Click the button in that tab to compute.
|
| 246 |
+
5. Interpret the plot using the descriptions above. All dependencies on Φ, Γ, ℛ, Ξ, Ψ are explicit.
|
| 247 |
+
|
| 248 |
+
⸻
|
| 249 |
+
|
| 250 |
+
🔒 Legal position & allowed use
|
| 251 |
+
• Authorship
|
| 252 |
+
Rendered Frame Theory (RFT), its coherence operators, field equations and applied models are authored by Liam Grinstead.
|
| 253 |
+
• Protection
|
| 254 |
+
This work is protected under UK copyright law and the Berne Convention. All rights are reserved unless explicitly granted in writing.
|
| 255 |
+
• You are allowed to
|
| 256 |
+
• Use this lab to explore and understand RFT.
|
| 257 |
+
• Make plots, screenshots, and share results for education, open research, and discussion, with proper attribution.
|
| 258 |
+
• Cite RFT in scientific work, referencing the relevant Zenodo DOIs.
|
| 259 |
+
• You are not allowed to
|
| 260 |
+
• Use RFT, its equations, or this lab to design or optimise weapons or harmful systems.
|
| 261 |
+
• Repackage the RFT framework, operators, or code, rebrand them, and claim ownership.
|
| 262 |
+
• Commercially exploit RFT (products, services, proprietary models, or derivative frameworks) without explicit written permission from the author.
|
| 263 |
+
• Intent
|
| 264 |
+
RFT was built to crack open the gatekeeping around cosmology and consciousness, not to hoard knowledge.
|
| 265 |
+
This lab is intentionally public and mathematically transparent.
|
| 266 |
+
The line is clear: no weaponisation, no quiet commercial theft, no erasing authorship.
|
| 267 |
+
|
| 268 |
+
⸻
|
| 269 |
+
|
| 270 |
+
📚 Citation
|
| 271 |
+
|
| 272 |
+
If you use this lab or RFT concepts in your work, cite at least:
|
| 273 |
+
|
| 274 |
+
Grinstead, L. (2025). Rendered Frame Theory’s Mathematical model. Zenodo.
|
| 275 |
+
https://doi.org/10.5281/zenodo.17644885
|
| 276 |
+
|
| 277 |
+
(Include any additional RFT DOIs that match the specific equations or predictions you use.)
|
| 278 |
+
---
|
| 279 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|