universal-physics-tensor 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +377 -0
  3. package/dist/bridges/equations/be-11-decoherence-master.d.ts +83 -0
  4. package/dist/bridges/equations/be-11-decoherence-master.d.ts.map +1 -0
  5. package/dist/bridges/equations/be-11-decoherence-master.js +116 -0
  6. package/dist/bridges/equations/be-11-decoherence-master.js.map +1 -0
  7. package/dist/bridges/equations/be-12-coherence-length.d.ts +80 -0
  8. package/dist/bridges/equations/be-12-coherence-length.d.ts.map +1 -0
  9. package/dist/bridges/equations/be-12-coherence-length.js +128 -0
  10. package/dist/bridges/equations/be-12-coherence-length.js.map +1 -0
  11. package/dist/bridges/equations/be-13-einstein-trace.d.ts +89 -0
  12. package/dist/bridges/equations/be-13-einstein-trace.d.ts.map +1 -0
  13. package/dist/bridges/equations/be-13-einstein-trace.js +143 -0
  14. package/dist/bridges/equations/be-13-einstein-trace.js.map +1 -0
  15. package/dist/bridges/equations/be-14-ryu-takayanagi.d.ts +67 -0
  16. package/dist/bridges/equations/be-14-ryu-takayanagi.d.ts.map +1 -0
  17. package/dist/bridges/equations/be-14-ryu-takayanagi.js +112 -0
  18. package/dist/bridges/equations/be-14-ryu-takayanagi.js.map +1 -0
  19. package/dist/bridges/equations/be-15-emergence.d.ts +164 -0
  20. package/dist/bridges/equations/be-15-emergence.d.ts.map +1 -0
  21. package/dist/bridges/equations/be-15-emergence.js +204 -0
  22. package/dist/bridges/equations/be-15-emergence.js.map +1 -0
  23. package/dist/bridges/equations/be-16-landauer.d.ts +180 -0
  24. package/dist/bridges/equations/be-16-landauer.d.ts.map +1 -0
  25. package/dist/bridges/equations/be-16-landauer.js +206 -0
  26. package/dist/bridges/equations/be-16-landauer.js.map +1 -0
  27. package/dist/bridges/equations/be-17-einstein-cartan.d.ts +245 -0
  28. package/dist/bridges/equations/be-17-einstein-cartan.d.ts.map +1 -0
  29. package/dist/bridges/equations/be-17-einstein-cartan.js +304 -0
  30. package/dist/bridges/equations/be-17-einstein-cartan.js.map +1 -0
  31. package/dist/bridges/equations/be-18-higgs-mass.d.ts +65 -0
  32. package/dist/bridges/equations/be-18-higgs-mass.d.ts.map +1 -0
  33. package/dist/bridges/equations/be-18-higgs-mass.js +86 -0
  34. package/dist/bridges/equations/be-18-higgs-mass.js.map +1 -0
  35. package/dist/bridges/equations/be-19-quantum-bounce.d.ts +72 -0
  36. package/dist/bridges/equations/be-19-quantum-bounce.d.ts.map +1 -0
  37. package/dist/bridges/equations/be-19-quantum-bounce.js +151 -0
  38. package/dist/bridges/equations/be-19-quantum-bounce.js.map +1 -0
  39. package/dist/bridges/equations/be-20-vacuum-energy.d.ts +72 -0
  40. package/dist/bridges/equations/be-20-vacuum-energy.d.ts.map +1 -0
  41. package/dist/bridges/equations/be-20-vacuum-energy.js +115 -0
  42. package/dist/bridges/equations/be-20-vacuum-energy.js.map +1 -0
  43. package/dist/bridges/equations/be-21-kss-bound.d.ts +72 -0
  44. package/dist/bridges/equations/be-21-kss-bound.d.ts.map +1 -0
  45. package/dist/bridges/equations/be-21-kss-bound.js +103 -0
  46. package/dist/bridges/equations/be-21-kss-bound.js.map +1 -0
  47. package/dist/bridges/equations/be-22-topological-entanglement.d.ts +90 -0
  48. package/dist/bridges/equations/be-22-topological-entanglement.d.ts.map +1 -0
  49. package/dist/bridges/equations/be-22-topological-entanglement.js +123 -0
  50. package/dist/bridges/equations/be-22-topological-entanglement.js.map +1 -0
  51. package/dist/bridges/equations/be-23-syk-planckian.d.ts +89 -0
  52. package/dist/bridges/equations/be-23-syk-planckian.d.ts.map +1 -0
  53. package/dist/bridges/equations/be-23-syk-planckian.js +155 -0
  54. package/dist/bridges/equations/be-23-syk-planckian.js.map +1 -0
  55. package/dist/bridges/equations/be-24-foerster-fret.d.ts +81 -0
  56. package/dist/bridges/equations/be-24-foerster-fret.d.ts.map +1 -0
  57. package/dist/bridges/equations/be-24-foerster-fret.js +121 -0
  58. package/dist/bridges/equations/be-24-foerster-fret.js.map +1 -0
  59. package/dist/bridges/equations/be-25-iit-phi.d.ts +220 -0
  60. package/dist/bridges/equations/be-25-iit-phi.d.ts.map +1 -0
  61. package/dist/bridges/equations/be-25-iit-phi.js +259 -0
  62. package/dist/bridges/equations/be-25-iit-phi.js.map +1 -0
  63. package/dist/bridges/equations/be-25-orch-or.d.ts +78 -0
  64. package/dist/bridges/equations/be-25-orch-or.d.ts.map +1 -0
  65. package/dist/bridges/equations/be-25-orch-or.js +121 -0
  66. package/dist/bridges/equations/be-25-orch-or.js.map +1 -0
  67. package/dist/bridges/equations/be-26-dna-tunneling.d.ts +75 -0
  68. package/dist/bridges/equations/be-26-dna-tunneling.d.ts.map +1 -0
  69. package/dist/bridges/equations/be-26-dna-tunneling.js +138 -0
  70. package/dist/bridges/equations/be-26-dna-tunneling.js.map +1 -0
  71. package/dist/bridges/equations/be-27-effective-temperature.d.ts +81 -0
  72. package/dist/bridges/equations/be-27-effective-temperature.d.ts.map +1 -0
  73. package/dist/bridges/equations/be-27-effective-temperature.js +120 -0
  74. package/dist/bridges/equations/be-27-effective-temperature.js.map +1 -0
  75. package/dist/bridges/equations/be-28-onsager-entropy-production.d.ts +175 -0
  76. package/dist/bridges/equations/be-28-onsager-entropy-production.d.ts.map +1 -0
  77. package/dist/bridges/equations/be-28-onsager-entropy-production.js +203 -0
  78. package/dist/bridges/equations/be-28-onsager-entropy-production.js.map +1 -0
  79. package/dist/bridges/equations/be-29-jarzynski.d.ts +86 -0
  80. package/dist/bridges/equations/be-29-jarzynski.d.ts.map +1 -0
  81. package/dist/bridges/equations/be-29-jarzynski.js +132 -0
  82. package/dist/bridges/equations/be-29-jarzynski.js.map +1 -0
  83. package/dist/bridges/equations/be-30-flm-first-law.d.ts +93 -0
  84. package/dist/bridges/equations/be-30-flm-first-law.d.ts.map +1 -0
  85. package/dist/bridges/equations/be-30-flm-first-law.js +109 -0
  86. package/dist/bridges/equations/be-30-flm-first-law.js.map +1 -0
  87. package/dist/bridges/equations/be-31-causal-set-bd.d.ts +96 -0
  88. package/dist/bridges/equations/be-31-causal-set-bd.d.ts.map +1 -0
  89. package/dist/bridges/equations/be-31-causal-set-bd.js +133 -0
  90. package/dist/bridges/equations/be-31-causal-set-bd.js.map +1 -0
  91. package/dist/bridges/equations/be-32-quantum-reference-frame.d.ts +113 -0
  92. package/dist/bridges/equations/be-32-quantum-reference-frame.d.ts.map +1 -0
  93. package/dist/bridges/equations/be-32-quantum-reference-frame.js +155 -0
  94. package/dist/bridges/equations/be-32-quantum-reference-frame.js.map +1 -0
  95. package/dist/bridges/equations/be-33-hertz-millis.d.ts +77 -0
  96. package/dist/bridges/equations/be-33-hertz-millis.d.ts.map +1 -0
  97. package/dist/bridges/equations/be-33-hertz-millis.js +113 -0
  98. package/dist/bridges/equations/be-33-hertz-millis.js.map +1 -0
  99. package/dist/bridges/equations/be-34-kibble-zurek.d.ts +76 -0
  100. package/dist/bridges/equations/be-34-kibble-zurek.d.ts.map +1 -0
  101. package/dist/bridges/equations/be-34-kibble-zurek.js +139 -0
  102. package/dist/bridges/equations/be-34-kibble-zurek.js.map +1 -0
  103. package/dist/bridges/equations/be-35-conformal-bootstrap.d.ts +117 -0
  104. package/dist/bridges/equations/be-35-conformal-bootstrap.d.ts.map +1 -0
  105. package/dist/bridges/equations/be-35-conformal-bootstrap.js +167 -0
  106. package/dist/bridges/equations/be-35-conformal-bootstrap.js.map +1 -0
  107. package/dist/bridges/equations/be-36-gw-speed-bound.d.ts +77 -0
  108. package/dist/bridges/equations/be-36-gw-speed-bound.d.ts.map +1 -0
  109. package/dist/bridges/equations/be-36-gw-speed-bound.js +107 -0
  110. package/dist/bridges/equations/be-36-gw-speed-bound.js.map +1 -0
  111. package/dist/bridges/equations/be-37-shapiro-delay.d.ts +260 -0
  112. package/dist/bridges/equations/be-37-shapiro-delay.d.ts.map +1 -0
  113. package/dist/bridges/equations/be-37-shapiro-delay.js +429 -0
  114. package/dist/bridges/equations/be-37-shapiro-delay.js.map +1 -0
  115. package/dist/bridges/equations/be-38-mond.d.ts +86 -0
  116. package/dist/bridges/equations/be-38-mond.d.ts.map +1 -0
  117. package/dist/bridges/equations/be-38-mond.js +122 -0
  118. package/dist/bridges/equations/be-38-mond.js.map +1 -0
  119. package/dist/bridges/equations/be-39-asymptotic-safety.d.ts +106 -0
  120. package/dist/bridges/equations/be-39-asymptotic-safety.d.ts.map +1 -0
  121. package/dist/bridges/equations/be-39-asymptotic-safety.js +155 -0
  122. package/dist/bridges/equations/be-39-asymptotic-safety.js.map +1 -0
  123. package/dist/bridges/equations/be-40-composite-higgs.d.ts +81 -0
  124. package/dist/bridges/equations/be-40-composite-higgs.d.ts.map +1 -0
  125. package/dist/bridges/equations/be-40-composite-higgs.js +149 -0
  126. package/dist/bridges/equations/be-40-composite-higgs.js.map +1 -0
  127. package/dist/bridges/equations/be-41-swampland.d.ts +67 -0
  128. package/dist/bridges/equations/be-41-swampland.d.ts.map +1 -0
  129. package/dist/bridges/equations/be-41-swampland.js +109 -0
  130. package/dist/bridges/equations/be-41-swampland.js.map +1 -0
  131. package/dist/bridges/equations/be-42-hawking-temperature.d.ts +67 -0
  132. package/dist/bridges/equations/be-42-hawking-temperature.d.ts.map +1 -0
  133. package/dist/bridges/equations/be-42-hawking-temperature.js +109 -0
  134. package/dist/bridges/equations/be-42-hawking-temperature.js.map +1 -0
  135. package/dist/bridges/equations/be-43-er-epr.d.ts +73 -0
  136. package/dist/bridges/equations/be-43-er-epr.d.ts.map +1 -0
  137. package/dist/bridges/equations/be-43-er-epr.js +114 -0
  138. package/dist/bridges/equations/be-43-er-epr.js.map +1 -0
  139. package/dist/bridges/equations/be-44-soft-hair.d.ts +151 -0
  140. package/dist/bridges/equations/be-44-soft-hair.d.ts.map +1 -0
  141. package/dist/bridges/equations/be-44-soft-hair.js +185 -0
  142. package/dist/bridges/equations/be-44-soft-hair.js.map +1 -0
  143. package/dist/bridges/equations/be-45-tcc.d.ts +116 -0
  144. package/dist/bridges/equations/be-45-tcc.d.ts.map +1 -0
  145. package/dist/bridges/equations/be-45-tcc.js +157 -0
  146. package/dist/bridges/equations/be-45-tcc.js.map +1 -0
  147. package/dist/bridges/equations/be-46-multiverse-measure.d.ts +163 -0
  148. package/dist/bridges/equations/be-46-multiverse-measure.d.ts.map +1 -0
  149. package/dist/bridges/equations/be-46-multiverse-measure.js +198 -0
  150. package/dist/bridges/equations/be-46-multiverse-measure.js.map +1 -0
  151. package/dist/bridges/equations/be-47-bbn-dark-sector.d.ts +72 -0
  152. package/dist/bridges/equations/be-47-bbn-dark-sector.d.ts.map +1 -0
  153. package/dist/bridges/equations/be-47-bbn-dark-sector.js +121 -0
  154. package/dist/bridges/equations/be-47-bbn-dark-sector.js.map +1 -0
  155. package/dist/bridges/equations/be-48-grw-localization.d.ts +84 -0
  156. package/dist/bridges/equations/be-48-grw-localization.d.ts.map +1 -0
  157. package/dist/bridges/equations/be-48-grw-localization.js +107 -0
  158. package/dist/bridges/equations/be-48-grw-localization.js.map +1 -0
  159. package/dist/bridges/equations/be-49-quantum-darwinism.d.ts +97 -0
  160. package/dist/bridges/equations/be-49-quantum-darwinism.d.ts.map +1 -0
  161. package/dist/bridges/equations/be-49-quantum-darwinism.js +129 -0
  162. package/dist/bridges/equations/be-49-quantum-darwinism.js.map +1 -0
  163. package/dist/bridges/equations/be-50-wheeler-feynman.d.ts +120 -0
  164. package/dist/bridges/equations/be-50-wheeler-feynman.d.ts.map +1 -0
  165. package/dist/bridges/equations/be-50-wheeler-feynman.js +151 -0
  166. package/dist/bridges/equations/be-50-wheeler-feynman.js.map +1 -0
  167. package/dist/bridges/gravitational-lensing.d.ts +52 -0
  168. package/dist/bridges/gravitational-lensing.d.ts.map +1 -0
  169. package/dist/bridges/gravitational-lensing.js +48 -0
  170. package/dist/bridges/gravitational-lensing.js.map +1 -0
  171. package/dist/bridges/index.d.ts +104 -0
  172. package/dist/bridges/index.d.ts.map +1 -0
  173. package/dist/bridges/index.js +1663 -0
  174. package/dist/bridges/index.js.map +1 -0
  175. package/dist/bridges/perihelion-precession.d.ts +62 -0
  176. package/dist/bridges/perihelion-precession.d.ts.map +1 -0
  177. package/dist/bridges/perihelion-precession.js +68 -0
  178. package/dist/bridges/perihelion-precession.js.map +1 -0
  179. package/dist/core/tensor.d.ts +135 -0
  180. package/dist/core/tensor.d.ts.map +1 -0
  181. package/dist/core/tensor.js +376 -0
  182. package/dist/core/tensor.js.map +1 -0
  183. package/dist/core/types.d.ts +131 -0
  184. package/dist/core/types.d.ts.map +1 -0
  185. package/dist/core/types.js +25 -0
  186. package/dist/core/types.js.map +1 -0
  187. package/dist/dimensional/algebra.d.ts +34 -0
  188. package/dist/dimensional/algebra.d.ts.map +1 -0
  189. package/dist/dimensional/algebra.js +90 -0
  190. package/dist/dimensional/algebra.js.map +1 -0
  191. package/dist/dimensional/bridge-check.d.ts +48 -0
  192. package/dist/dimensional/bridge-check.d.ts.map +1 -0
  193. package/dist/dimensional/bridge-check.js +137 -0
  194. package/dist/dimensional/bridge-check.js.map +1 -0
  195. package/dist/dimensional/connection-validators.d.ts +53 -0
  196. package/dist/dimensional/connection-validators.d.ts.map +1 -0
  197. package/dist/dimensional/connection-validators.js +84 -0
  198. package/dist/dimensional/connection-validators.js.map +1 -0
  199. package/dist/dimensional/connection.d.ts +40 -0
  200. package/dist/dimensional/connection.d.ts.map +1 -0
  201. package/dist/dimensional/connection.js +81 -0
  202. package/dist/dimensional/connection.js.map +1 -0
  203. package/dist/dimensional/constants.d.ts +30 -0
  204. package/dist/dimensional/constants.d.ts.map +1 -0
  205. package/dist/dimensional/constants.js +31 -0
  206. package/dist/dimensional/constants.js.map +1 -0
  207. package/dist/dimensional/errors.d.ts +161 -0
  208. package/dist/dimensional/errors.d.ts.map +1 -0
  209. package/dist/dimensional/errors.js +254 -0
  210. package/dist/dimensional/errors.js.map +1 -0
  211. package/dist/dimensional/fresh-label.d.ts +26 -0
  212. package/dist/dimensional/fresh-label.d.ts.map +1 -0
  213. package/dist/dimensional/fresh-label.js +31 -0
  214. package/dist/dimensional/fresh-label.js.map +1 -0
  215. package/dist/dimensional/metric-validators.d.ts +124 -0
  216. package/dist/dimensional/metric-validators.d.ts.map +1 -0
  217. package/dist/dimensional/metric-validators.js +141 -0
  218. package/dist/dimensional/metric-validators.js.map +1 -0
  219. package/dist/dimensional/metric.d.ts +67 -0
  220. package/dist/dimensional/metric.d.ts.map +1 -0
  221. package/dist/dimensional/metric.js +177 -0
  222. package/dist/dimensional/metric.js.map +1 -0
  223. package/dist/dimensional/tensor.d.ts +153 -0
  224. package/dist/dimensional/tensor.d.ts.map +1 -0
  225. package/dist/dimensional/tensor.js +138 -0
  226. package/dist/dimensional/tensor.js.map +1 -0
  227. package/dist/dimensional/types.d.ts +50 -0
  228. package/dist/dimensional/types.d.ts.map +1 -0
  229. package/dist/dimensional/types.js +66 -0
  230. package/dist/dimensional/types.js.map +1 -0
  231. package/dist/dimensional/validator.d.ts +84 -0
  232. package/dist/dimensional/validator.d.ts.map +1 -0
  233. package/dist/dimensional/validator.js +505 -0
  234. package/dist/dimensional/validator.js.map +1 -0
  235. package/dist/index.d.ts +25 -0
  236. package/dist/index.d.ts.map +1 -0
  237. package/dist/index.js +37 -0
  238. package/dist/index.js.map +1 -0
  239. package/dist/numerical/be37-covariant-eikonal.d.ts +90 -0
  240. package/dist/numerical/be37-covariant-eikonal.d.ts.map +1 -0
  241. package/dist/numerical/be37-covariant-eikonal.js +79 -0
  242. package/dist/numerical/be37-covariant-eikonal.js.map +1 -0
  243. package/dist/numerical/connection-lowering-helpers.d.ts +107 -0
  244. package/dist/numerical/connection-lowering-helpers.d.ts.map +1 -0
  245. package/dist/numerical/connection-lowering-helpers.js +315 -0
  246. package/dist/numerical/connection-lowering-helpers.js.map +1 -0
  247. package/dist/numerical/engine-registry.d.ts +50 -0
  248. package/dist/numerical/engine-registry.d.ts.map +1 -0
  249. package/dist/numerical/engine-registry.js +82 -0
  250. package/dist/numerical/engine-registry.js.map +1 -0
  251. package/dist/numerical/errors.d.ts +28 -0
  252. package/dist/numerical/errors.d.ts.map +1 -0
  253. package/dist/numerical/errors.js +39 -0
  254. package/dist/numerical/errors.js.map +1 -0
  255. package/dist/numerical/float64-engine.d.ts +53 -0
  256. package/dist/numerical/float64-engine.d.ts.map +1 -0
  257. package/dist/numerical/float64-engine.js +638 -0
  258. package/dist/numerical/float64-engine.js.map +1 -0
  259. package/dist/numerical/geodesic-integrator.d.ts +62 -0
  260. package/dist/numerical/geodesic-integrator.d.ts.map +1 -0
  261. package/dist/numerical/geodesic-integrator.js +103 -0
  262. package/dist/numerical/geodesic-integrator.js.map +1 -0
  263. package/dist/numerical/grid-field.d.ts +24 -0
  264. package/dist/numerical/grid-field.d.ts.map +1 -0
  265. package/dist/numerical/grid-field.js +2 -0
  266. package/dist/numerical/grid-field.js.map +1 -0
  267. package/dist/numerical/index.d.ts +80 -0
  268. package/dist/numerical/index.d.ts.map +1 -0
  269. package/dist/numerical/index.js +75 -0
  270. package/dist/numerical/index.js.map +1 -0
  271. package/dist/numerical/lowering.d.ts +48 -0
  272. package/dist/numerical/lowering.d.ts.map +1 -0
  273. package/dist/numerical/lowering.js +443 -0
  274. package/dist/numerical/lowering.js.map +1 -0
  275. package/dist/numerical/mathts-engine.d.ts +55 -0
  276. package/dist/numerical/mathts-engine.d.ts.map +1 -0
  277. package/dist/numerical/mathts-engine.js +164 -0
  278. package/dist/numerical/mathts-engine.js.map +1 -0
  279. package/dist/numerical/metric-inverse.d.ts +31 -0
  280. package/dist/numerical/metric-inverse.d.ts.map +1 -0
  281. package/dist/numerical/metric-inverse.js +68 -0
  282. package/dist/numerical/metric-inverse.js.map +1 -0
  283. package/dist/numerical/null-ray-integrator.d.ts +13 -0
  284. package/dist/numerical/null-ray-integrator.d.ts.map +1 -0
  285. package/dist/numerical/null-ray-integrator.js +53 -0
  286. package/dist/numerical/null-ray-integrator.js.map +1 -0
  287. package/dist/numerical/pderiv.d.ts +43 -0
  288. package/dist/numerical/pderiv.d.ts.map +1 -0
  289. package/dist/numerical/pderiv.js +121 -0
  290. package/dist/numerical/pderiv.js.map +1 -0
  291. package/dist/numerical/tensor-engine.d.ts +114 -0
  292. package/dist/numerical/tensor-engine.d.ts.map +1 -0
  293. package/dist/numerical/tensor-engine.js +64 -0
  294. package/dist/numerical/tensor-engine.js.map +1 -0
  295. package/dist/numerical/types.d.ts +37 -0
  296. package/dist/numerical/types.d.ts.map +1 -0
  297. package/dist/numerical/types.js +8 -0
  298. package/dist/numerical/types.js.map +1 -0
  299. package/package.json +72 -0
@@ -0,0 +1,151 @@
1
+ /**
2
+ * Bridge Equation 19 — Quantum Bounce (LQC modified Friedmann).
3
+ *
4
+ * H² = (8πG/3) ρ (1 − ρ/ρ_crit) + Λ/3
5
+ *
6
+ * H is the Hubble parameter [T^-1], ρ is energy/mass density [M L^-3],
7
+ * ρ_crit is the LQC bounce critical density [M L^-3], and Λ is the
8
+ * cosmological constant expressed in [T^-2] form (i.e. c² · Λ_[L^-2]).
9
+ *
10
+ * Reference: Ashtekar-Singh 2011 review "Loop Quantum Cosmology: A
11
+ * Status Report" (arXiv:1108.0893). The (1 − ρ/ρ_crit) bounce factor is
12
+ * the LQC correction to standard Friedmann; at ρ = ρ_crit, H² = Λ/3 and
13
+ * the universe momentarily halts before re-expanding.
14
+ *
15
+ * Status: speculative — LQC-inspired. Reformulated 2026-05-05 (Wave I.B C1)
16
+ * to the canonical Ashtekar-Pawlowski-Singh γ-dependent form:
17
+ * ρ_crit = (√3 / (32π² γ³ ℓ_P²)) · (c²/G), γ ≈ 0.2375
18
+ * which yields ρ_crit ≈ 0.41 ρ_Planck ≈ 2.1×10⁹⁶ kg/m³ (Ashtekar-Pawlowski-
19
+ * Singh 2006 *Phys. Rev. D* 74:084003, arXiv:gr-qc/0607039; Ashtekar-Singh
20
+ * review arXiv:1108.0893; Meissner 2004 γ-fix gr-qc/0407052). The earlier
21
+ * dimensional-estimate ρ_crit = 3c²/(8πGℓ_P²) (~6.2×10⁹⁵ kg/m³) was off
22
+ * by ~3.4× because it omitted the γ³ Barbero-Immirzi factor.
23
+ *
24
+ * Reformulated 2026-05-06 (Wave P-A Tier 0-2, per Math iter-5 CRIT-2):
25
+ * docstring prefactor synced from "16π²" to "32π²" to match Part-I §6
26
+ * (Wave N Tier B reconciliation) and the formula_latex in
27
+ * src/bridges/index.ts BE-19. The "16π²" form yielded ~0.82 ρ_Planck
28
+ * (factor-of-2 off the canonical 0.41 ρ_Planck literature value).
29
+ *
30
+ * The AST takes ρ_crit as a free numerical input — the formula change in
31
+ * the spec/index does NOT require re-encoding here. Tests pinning the
32
+ * old "spec form" numerical value have been updated alongside this fix.
33
+ *
34
+ * Honest-claude scope notes:
35
+ * - We model Λ as a symbol in [T^-2]. The standard GR `Λ` has SI
36
+ * dimension [L^-2]; the rescaling `Λ_[T^-2] = c² Λ_[L^-2]` is the
37
+ * natural convention when writing `H² = ... + Λ/3` (compare Ryden,
38
+ * "Introduction to Cosmology" 2nd ed., §6, Eq. 6.32).
39
+ * - The bounce factor `1 - ρ/ρ_crit` is encoded as `(1 [dimensionless])
40
+ * - (ρ/ρ_crit)` so the AST '+/-' rule is satisfied.
41
+ *
42
+ * @see docs/specification/Part-I.md ("Bridge Equation 19: Quantum Bounce Equation")
43
+ * @see src/bridges/index.ts BRIDGE_EQUATIONS.find(e => e.id === 19)
44
+ * @module bridges/equations/be-19-quantum-bounce
45
+ */
46
+ import { validate, validateEquation } from '../../dimensional/validator.js';
47
+ import { DIMENSIONLESS, } from '../../dimensional/types.js';
48
+ import { G as DIM_G } from '../../dimensional/constants.js';
49
+ import { PhysicalConstants } from '../../core/types.js';
50
+ // --- Symbolic AST ---
51
+ const sym = (name, dim) => ({ kind: 'symbol', name, dim });
52
+ /** Mass-density [M L^-3]. */
53
+ const MASS_DENSITY = {
54
+ L: -3, M: 1, T: 0, I: 0, Theta: 0, N: 0, J: 0,
55
+ };
56
+ /** [T^-2] dimension for Λ in the c²-rescaled Friedmann form. */
57
+ const T_INV2 = {
58
+ L: 0, M: 0, T: -2, I: 0, Theta: 0, N: 0, J: 0,
59
+ };
60
+ // Note: this module rescales Λ from its raw GR form [L^-2] into [T^-2]
61
+ // via the standard `Λ_[T^-2] = c² · Λ_[L^-2]` convention (Ryden, "Intro
62
+ // to Cosmology" 2nd ed. §6, Eq. 6.32). A future encoding that wants raw
63
+ // Λ_[L^-2] should re-import LENGTH and remove the c² rescaling on the
64
+ // Lambda symbol.
65
+ /**
66
+ * RHS of `H² = (8πG/3) ρ (1 - ρ/ρ_crit) + Λ/3` as a typed ExprNode tree.
67
+ */
68
+ export const QUANTUM_BOUNCE_RHS = {
69
+ kind: 'op', op: '+',
70
+ args: [
71
+ {
72
+ // (8πG/3) · ρ · (1 − ρ/ρ_crit)
73
+ kind: 'op', op: '*',
74
+ args: [
75
+ {
76
+ // 8π/3 — dimensionless prefactor (folded into single symbol)
77
+ kind: 'op', op: '/',
78
+ args: [
79
+ sym('8pi', DIMENSIONLESS),
80
+ sym('3', DIMENSIONLESS),
81
+ ],
82
+ },
83
+ sym('G', DIM_G),
84
+ sym('rho', MASS_DENSITY),
85
+ {
86
+ // (1 − ρ/ρ_crit)
87
+ kind: 'op', op: '-',
88
+ args: [
89
+ sym('1', DIMENSIONLESS),
90
+ {
91
+ kind: 'op', op: '/',
92
+ args: [
93
+ sym('rho', MASS_DENSITY),
94
+ sym('rho_crit', MASS_DENSITY),
95
+ ],
96
+ },
97
+ ],
98
+ },
99
+ ],
100
+ },
101
+ {
102
+ // Λ / 3
103
+ kind: 'op', op: '/',
104
+ args: [
105
+ sym('Lambda', T_INV2),
106
+ sym('3', DIMENSIONLESS),
107
+ ],
108
+ },
109
+ ],
110
+ };
111
+ /** LHS: H² has dimension [T^-2]. */
112
+ export const QUANTUM_BOUNCE_LHS = {
113
+ kind: 'op', op: '^',
114
+ args: [sym('H', { L: 0, M: 0, T: -1, I: 0, Theta: 0, N: 0, J: 0 }), sym('2', DIMENSIONLESS)],
115
+ };
116
+ /**
117
+ * Evaluate H² = (8πG/3) ρ (1 − ρ/ρ_crit) + Λ/3.
118
+ *
119
+ * @returns H² in [s^-2].
120
+ */
121
+ export function evaluateQuantumBounce(input) {
122
+ const { rho, rho_crit, Lambda_Tinv2 } = input;
123
+ if (!Number.isFinite(rho) || rho < 0) {
124
+ throw new RangeError(`evaluateQuantumBounce: rho must be a finite non-negative number, got ${rho}`);
125
+ }
126
+ if (!Number.isFinite(rho_crit) || rho_crit <= 0) {
127
+ throw new RangeError(`evaluateQuantumBounce: rho_crit must be a finite positive number, got ${rho_crit}`);
128
+ }
129
+ if (!Number.isFinite(Lambda_Tinv2)) {
130
+ throw new RangeError(`evaluateQuantumBounce: Lambda_Tinv2 must be finite, got ${Lambda_Tinv2}`);
131
+ }
132
+ const { G } = PhysicalConstants;
133
+ const bounce = 1 - rho / rho_crit;
134
+ return ((8 * Math.PI * G) / 3) * rho * bounce + Lambda_Tinv2 / 3;
135
+ }
136
+ // --- Self-validation ---
137
+ /**
138
+ * Run the AST through the dimensional analyzer; LHS = H² and RHS together
139
+ * should both be [T^-2].
140
+ */
141
+ export function validateQuantumBounceDimensions() {
142
+ const eq = validateEquation(QUANTUM_BOUNCE_LHS, QUANTUM_BOUNCE_RHS);
143
+ const lhs = validate(QUANTUM_BOUNCE_LHS);
144
+ const rhs = validate(QUANTUM_BOUNCE_RHS);
145
+ return {
146
+ ok: eq.ok,
147
+ lhsDim: lhs.inferredDimension,
148
+ rhsDim: rhs.inferredDimension,
149
+ };
150
+ }
151
+ //# sourceMappingURL=be-19-quantum-bounce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be-19-quantum-bounce.js","sourceRoot":"","sources":["../../../src/bridges/equations/be-19-quantum-bounce.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAGH,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,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AG,GAAG,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,UAAU,CAClB,wEAAwE,GAAG,EAAE,CAC9E,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,QAAQ,IAAI,CAAC,EAAE,CAAC;QAChD,MAAM,IAAI,UAAU,CAClB,yEAAyE,QAAQ,EAAE,CACpF,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,UAAU,CAClB,2DAA2D,YAAY,EAAE,CAC1E,CAAC;IACJ,CAAC;IACD,MAAM,EAAE,CAAC,EAAE,GAAG,iBAAiB,CAAC;IAChC,MAAM,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG,QAAQ,CAAC;IAClC,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,MAAM,GAAG,YAAY,GAAG,CAAC,CAAC;AACnE,CAAC;AAED,0BAA0B;AAE1B;;;GAGG;AACH,MAAM,UAAU,+BAA+B;IAC7C,MAAM,EAAE,GAAG,gBAAgB,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;IACpE,MAAM,GAAG,GAAG,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IACzC,MAAM,GAAG,GAAG,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IACzC,OAAO;QACL,EAAE,EAAE,EAAE,CAAC,EAAE;QACT,MAAM,EAAE,GAAG,CAAC,iBAAiB;QAC7B,MAAM,EAAE,GAAG,CAAC,iBAAiB;KAC9B,CAAC;AACJ,CAAC"}
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Bridge Equation 20 — Observed cosmological-constant mass density
3
+ * (canonical FRW form, post Wave Y reformulation).
4
+ *
5
+ * ρ_Λ = c² Λ / (8π G)
6
+ *
7
+ * The mass density associated with the observed cosmological constant
8
+ * Λ ≈ 1.1×10⁻⁵² m⁻² (Planck 2018; Aghanim et al. 2020). With the
9
+ * canonical FRW prefactor c²/(8π G), Λ ≈ 1.1e-52 m⁻² gives
10
+ * ρ_Λ ≈ 5.4×10⁻²⁷ kg/m³, matching the observed dark-energy density
11
+ * (≈70% of the critical density at the present epoch).
12
+ *
13
+ * Reference: Carroll 2001 *Living Rev. Relativity* 4:1
14
+ * (arXiv:astro-ph/0004075; canonical cosmological-constant review);
15
+ * Weinberg 1989 *Rev. Mod. Phys.* 61:1 (the cosmological-constant
16
+ * problem). Planck Collaboration (Aghanim et al.) 2020 *A&A* 641:A6
17
+ * (Λ measurement from CMB).
18
+ *
19
+ * Status: speculative (the bridge framing — using the observed CC as
20
+ * a quantum-cosmological bridge — is the speculative element).
21
+ *
22
+ * Honest-claude scope notes:
23
+ * - This formula sidesteps the formally-divergent ∫d³k vacuum-
24
+ * fluctuation integral that the original BE-20 carried. The
25
+ * vacuum-fluctuation problem (the 10¹²⁰ discrepancy between the
26
+ * QFT estimate and observation) remains the unfixed cosmological-
27
+ * constant problem, documented in known_issues. The observed
28
+ * ρ_Λ is the canonical scalar that replaces the divergent integral
29
+ * as the AST-encodable bridge content.
30
+ * - Dim: [c² Λ] = L² T⁻² · L⁻² = T⁻²; [1/G] = M T² L⁻³;
31
+ * [c² Λ / G] = M T² L⁻³ · T⁻² = M L⁻³ ✓ (mass density).
32
+ * - The energy-density form ρ_Λ c² = c⁴ Λ / (8π G) ≈ 7×10⁻¹⁰ J/m³
33
+ * is the alternate convention; both forms are physically
34
+ * equivalent. We encode the mass-density form here.
35
+ *
36
+ * @see docs/specification/Part-II.md ("Bridge Equation 20")
37
+ * @see src/bridges/index.ts BRIDGE_EQUATIONS.find(e => e.id === 20)
38
+ * @module bridges/equations/be-20-vacuum-energy
39
+ */
40
+ import type { ExprNode, DimensionValidationReport } from '../../dimensional/validator.js';
41
+ import { Dimension } from '../../dimensional/types.js';
42
+ /** [M L⁻³] — mass density (kg/m³). */
43
+ export declare const MASS_DENSITY: Dimension;
44
+ /**
45
+ * RHS of the cosmological-constant mass density:
46
+ * ρ_Λ = c² Λ / (8π G)
47
+ */
48
+ export declare const BE20_VACUUM_ENERGY_RHS: ExprNode;
49
+ /** LHS: ρ_Λ has dimension [M L⁻³] (mass density, kg/m³). */
50
+ export declare const BE20_VACUUM_ENERGY_LHS: ExprNode;
51
+ export interface CosmologicalConstantInputs {
52
+ /**
53
+ * Cosmological constant Λ (m⁻²). Default: 1.1×10⁻⁵² m⁻² (Planck 2018
54
+ * canonical value). Must be ≥ 0 and finite.
55
+ */
56
+ Lambda_per_m2?: number;
57
+ }
58
+ /**
59
+ * Evaluate the mass density associated with the observed cosmological
60
+ * constant
61
+ *
62
+ * ρ_Λ = c² Λ / (8π G)
63
+ *
64
+ * @returns Mass density in kg/m³.
65
+ */
66
+ export declare function evaluateCosmologicalConstantDensity(input?: CosmologicalConstantInputs): number;
67
+ /**
68
+ * Run the AST through the dimensional analyzer; both sides should be
69
+ * [M L⁻³] (mass density).
70
+ */
71
+ export declare function validateBE20Dimensions(): DimensionValidationReport;
72
+ //# sourceMappingURL=be-20-vacuum-energy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be-20-vacuum-energy.d.ts","sourceRoot":"","sources":["../../../src/bridges/equations/be-20-vacuum-energy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE1F,OAAO,EACL,SAAS,EAEV,MAAM,4BAA4B,CAAC;AAWpC,sCAAsC;AACtC,eAAO,MAAM,YAAY,EAAE,SAE1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAuBpC,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,sBAAsB,EAAE,QAA0C,CAAC;AAIhF,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAID;;;;;;;GAOG;AACH,wBAAgB,mCAAmC,CACjD,KAAK,GAAE,0BAA+B,GACrC,MAAM,CASR;AAID;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,yBAAyB,CASlE"}
@@ -0,0 +1,115 @@
1
+ /**
2
+ * Bridge Equation 20 — Observed cosmological-constant mass density
3
+ * (canonical FRW form, post Wave Y reformulation).
4
+ *
5
+ * ρ_Λ = c² Λ / (8π G)
6
+ *
7
+ * The mass density associated with the observed cosmological constant
8
+ * Λ ≈ 1.1×10⁻⁵² m⁻² (Planck 2018; Aghanim et al. 2020). With the
9
+ * canonical FRW prefactor c²/(8π G), Λ ≈ 1.1e-52 m⁻² gives
10
+ * ρ_Λ ≈ 5.4×10⁻²⁷ kg/m³, matching the observed dark-energy density
11
+ * (≈70% of the critical density at the present epoch).
12
+ *
13
+ * Reference: Carroll 2001 *Living Rev. Relativity* 4:1
14
+ * (arXiv:astro-ph/0004075; canonical cosmological-constant review);
15
+ * Weinberg 1989 *Rev. Mod. Phys.* 61:1 (the cosmological-constant
16
+ * problem). Planck Collaboration (Aghanim et al.) 2020 *A&A* 641:A6
17
+ * (Λ measurement from CMB).
18
+ *
19
+ * Status: speculative (the bridge framing — using the observed CC as
20
+ * a quantum-cosmological bridge — is the speculative element).
21
+ *
22
+ * Honest-claude scope notes:
23
+ * - This formula sidesteps the formally-divergent ∫d³k vacuum-
24
+ * fluctuation integral that the original BE-20 carried. The
25
+ * vacuum-fluctuation problem (the 10¹²⁰ discrepancy between the
26
+ * QFT estimate and observation) remains the unfixed cosmological-
27
+ * constant problem, documented in known_issues. The observed
28
+ * ρ_Λ is the canonical scalar that replaces the divergent integral
29
+ * as the AST-encodable bridge content.
30
+ * - Dim: [c² Λ] = L² T⁻² · L⁻² = T⁻²; [1/G] = M T² L⁻³;
31
+ * [c² Λ / G] = M T² L⁻³ · T⁻² = M L⁻³ ✓ (mass density).
32
+ * - The energy-density form ρ_Λ c² = c⁴ Λ / (8π G) ≈ 7×10⁻¹⁰ J/m³
33
+ * is the alternate convention; both forms are physically
34
+ * equivalent. We encode the mass-density form here.
35
+ *
36
+ * @see docs/specification/Part-II.md ("Bridge Equation 20")
37
+ * @see src/bridges/index.ts BRIDGE_EQUATIONS.find(e => e.id === 20)
38
+ * @module bridges/equations/be-20-vacuum-energy
39
+ */
40
+ import { validate, validateEquation } from '../../dimensional/validator.js';
41
+ import { DIMENSIONLESS, } from '../../dimensional/types.js';
42
+ import { c as DIM_c, G as DIM_G } from '../../dimensional/constants.js';
43
+ import { power } from '../../dimensional/algebra.js';
44
+ import { LENGTH } from '../../dimensional/types.js';
45
+ import { PhysicalConstants } from '../../core/types.js';
46
+ const sym = (name, dim) => ({ kind: 'symbol', name, dim });
47
+ /** [L⁻²] — cosmological-constant Λ has dimension of inverse area. */
48
+ const INV_LENGTH_2 = power(LENGTH, -2);
49
+ /** [M L⁻³] — mass density (kg/m³). */
50
+ export const MASS_DENSITY = {
51
+ L: -3, M: 1, T: 0, I: 0, Theta: 0, N: 0, J: 0,
52
+ };
53
+ /**
54
+ * RHS of the cosmological-constant mass density:
55
+ * ρ_Λ = c² Λ / (8π G)
56
+ */
57
+ export const BE20_VACUUM_ENERGY_RHS = {
58
+ kind: 'op', op: '/',
59
+ args: [
60
+ {
61
+ // numerator: c² · Λ
62
+ kind: 'op', op: '*',
63
+ args: [
64
+ {
65
+ kind: 'op', op: '^',
66
+ args: [sym('c', DIM_c), sym('2', DIMENSIONLESS)],
67
+ },
68
+ sym('Lambda', INV_LENGTH_2),
69
+ ],
70
+ },
71
+ {
72
+ // denominator: 8π · G
73
+ kind: 'op', op: '*',
74
+ args: [
75
+ sym('8pi', DIMENSIONLESS),
76
+ sym('G', DIM_G),
77
+ ],
78
+ },
79
+ ],
80
+ };
81
+ /** LHS: ρ_Λ has dimension [M L⁻³] (mass density, kg/m³). */
82
+ export const BE20_VACUUM_ENERGY_LHS = sym('rho_Lambda', MASS_DENSITY);
83
+ const DEFAULT_LAMBDA = 1.1e-52; // Planck 2018 canonical value (m^-2)
84
+ /**
85
+ * Evaluate the mass density associated with the observed cosmological
86
+ * constant
87
+ *
88
+ * ρ_Λ = c² Λ / (8π G)
89
+ *
90
+ * @returns Mass density in kg/m³.
91
+ */
92
+ export function evaluateCosmologicalConstantDensity(input = {}) {
93
+ const { Lambda_per_m2 = DEFAULT_LAMBDA } = input;
94
+ if (!Number.isFinite(Lambda_per_m2) || Lambda_per_m2 < 0) {
95
+ throw new RangeError(`evaluateCosmologicalConstantDensity: Lambda_per_m2 must be finite and non-negative, got ${Lambda_per_m2}`);
96
+ }
97
+ const { c, G } = PhysicalConstants;
98
+ return (c * c * Lambda_per_m2) / (8 * Math.PI * G);
99
+ }
100
+ // --- Self-validation ---
101
+ /**
102
+ * Run the AST through the dimensional analyzer; both sides should be
103
+ * [M L⁻³] (mass density).
104
+ */
105
+ export function validateBE20Dimensions() {
106
+ const eq = validateEquation(BE20_VACUUM_ENERGY_LHS, BE20_VACUUM_ENERGY_RHS);
107
+ const lhs = validate(BE20_VACUUM_ENERGY_LHS);
108
+ const rhs = validate(BE20_VACUUM_ENERGY_RHS);
109
+ return {
110
+ ok: eq.ok,
111
+ lhsDim: lhs.inferredDimension,
112
+ rhsDim: rhs.inferredDimension,
113
+ };
114
+ }
115
+ //# sourceMappingURL=be-20-vacuum-energy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be-20-vacuum-energy.js","sourceRoot":"","sources":["../../../src/bridges/equations/be-20-vacuum-energy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAGH,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAEL,aAAa,GACd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI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AAG,EAAE,KAAK,CAAC;aAChB;SACF;KACF;CACF,CAAC;AAEF,4DAA4D;AAC5D,MAAM,CAAC,MAAM,sBAAsB,GAAa,GAAG,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AAYhF,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,qCAAqC;AAErE;;;;;;;GAOG;AACH,MAAM,UAAU,mCAAmC,CACjD,QAAoC,EAAE;IAEtC,MAAM,EAAE,aAAa,GAAG,cAAc,EAAE,GAAG,KAAK,CAAC;IACjD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC;QACzD,MAAM,IAAI,UAAU,CAClB,2FAA2F,aAAa,EAAE,CAC3G,CAAC;IACJ,CAAC;IACD,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,iBAAiB,CAAC;IACnC,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;AACrD,CAAC;AAED,0BAA0B;AAE1B;;;GAGG;AACH,MAAM,UAAU,sBAAsB;IACpC,MAAM,EAAE,GAAG,gBAAgB,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,CAAC;IAC5E,MAAM,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAC7C,MAAM,GAAG,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAC7C,OAAO;QACL,EAAE,EAAE,EAAE,CAAC,EAAE;QACT,MAAM,EAAE,GAAG,CAAC,iBAAiB;QAC7B,MAAM,EAAE,GAAG,CAAC,iBAAiB;KAC9B,CAAC;AACJ,CAAC"}
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Bridge Equation 21 — Kovtun-Son-Starinets (KSS) viscosity-to-entropy
3
+ * bound (canonical AdS/CFT-derived universal lower bound on the shear-
4
+ * viscosity-to-entropy-density ratio).
5
+ *
6
+ * η/s = ℏ / (4π k_B)
7
+ *
8
+ * Numerical value: ℏ/(4π k_B) ≈ 6.078×10^-13 K·s. Any quantum fluid
9
+ * satisfying the AdS/CFT-correspondence assumptions (Einstein-gravity
10
+ * holographic dual, two-derivative bulk action) is conjectured to obey
11
+ * the bound η/s ≥ ℏ/(4π k_B).
12
+ *
13
+ * References:
14
+ * - Kovtun, Son & Starinets 2005 *Phys. Rev. Lett.* 94:111601
15
+ * (arXiv:hep-th/0405231; canonical KSS bound paper).
16
+ * - Son & Starinets 2002 *JHEP* 0209:042 (arXiv:hep-th/0205051;
17
+ * prerequisite Minkowski-correlator AdS/CFT recipe).
18
+ * - Policastro, Son & Starinets 2001 *Phys. Rev. Lett.* 87:081601
19
+ * (arXiv:hep-th/0104066; original η/s = 1/(4π) calculation in N=4
20
+ * SYM at strong coupling).
21
+ *
22
+ * Status: established (KSS itself is established AdS/CFT result).
23
+ *
24
+ * Honest-claude scope notes:
25
+ * - The bound η/s ≥ ℏ/(4π k_B) is a conjecture; the EQUALITY η/s =
26
+ * ℏ/(4π k_B) is the saturating value attained in the strong-coupling
27
+ * limit of N=4 super-Yang-Mills (Policastro-Son-Starinets 2001) and
28
+ * in any theory with an Einstein-gravity holographic dual. Encoding
29
+ * the equality (the saturating value) pins the canonical scalar; the
30
+ * ≥ inequality is the bridge's load-bearing claim.
31
+ * - The original BE-21 form was a holographic-dictionary retarded
32
+ * Green's function recipe (operator-valued, no clean scalar). The
33
+ * KSS bound is the canonical scalar reduction of the same Son-
34
+ * Starinets 2002 lineage and captures the most-cited AdS/CMT
35
+ * result: a *universal* dimensional constant for the viscosity/
36
+ * entropy-density ratio.
37
+ * - Dim: [η] = Pa·s = kg/(m·s) = [M L^-1 T^-1]; [s] = J/(K·m³) =
38
+ * [M L^-1 T^-2 Θ^-1]; [η/s] = T·Θ (= K·s in SI). Dim of ℏ/k_B:
39
+ * [J·s]/[J/K] = K·s. ✓
40
+ *
41
+ * @see docs/specification/Part-II.md ("Bridge Equation 21")
42
+ * @see src/bridges/index.ts BRIDGE_EQUATIONS.find(e => e.id === 21)
43
+ * @module bridges/equations/be-21-kss-bound
44
+ */
45
+ import type { ExprNode, DimensionValidationReport } from '../../dimensional/validator.js';
46
+ import { Dimension } from '../../dimensional/types.js';
47
+ /** [T Θ] — viscosity-to-entropy-density ratio dimension (K·s in SI). */
48
+ export declare const VISCOSITY_OVER_ENTROPY_DENSITY: Dimension;
49
+ /**
50
+ * RHS of the KSS saturating value:
51
+ * η/s = ℏ / (4π k_B)
52
+ *
53
+ * Encoded as `ℏ / (4π · k_B)` — both numerator and denominator carry
54
+ * dim [J·s] / [J/K] = [T Θ].
55
+ */
56
+ export declare const BE21_KSS_RHS: ExprNode;
57
+ /** LHS: η/s has dimension [T Θ]. */
58
+ export declare const BE21_KSS_LHS: ExprNode;
59
+ /**
60
+ * Evaluate the KSS saturating viscosity-to-entropy-density ratio
61
+ *
62
+ * η/s = ℏ / (4π k_B)
63
+ *
64
+ * @returns η/s in K·s (SI). Approximately 6.075e-12 K·s.
65
+ */
66
+ export declare function evaluateKSSBound(): number;
67
+ /**
68
+ * Run the AST through the dimensional analyzer; both sides should be
69
+ * [T Θ] (viscosity / entropy-density).
70
+ */
71
+ export declare function validateBE21Dimensions(): DimensionValidationReport;
72
+ //# sourceMappingURL=be-21-kss-bound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be-21-kss-bound.d.ts","sourceRoot":"","sources":["../../../src/bridges/equations/be-21-kss-bound.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE1F,OAAO,EACL,SAAS,EAIV,MAAM,4BAA4B,CAAC;AAMpC,wEAAwE;AACxE,eAAO,MAAM,8BAA8B,EAAE,SAE5C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,QAY1B,CAAC;AAEF,oCAAoC;AACpC,eAAO,MAAM,YAAY,EAAE,QAA4D,CAAC;AAIxF;;;;;;GAMG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAGzC;AAID;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,yBAAyB,CASlE"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * Bridge Equation 21 — Kovtun-Son-Starinets (KSS) viscosity-to-entropy
3
+ * bound (canonical AdS/CFT-derived universal lower bound on the shear-
4
+ * viscosity-to-entropy-density ratio).
5
+ *
6
+ * η/s = ℏ / (4π k_B)
7
+ *
8
+ * Numerical value: ℏ/(4π k_B) ≈ 6.078×10^-13 K·s. Any quantum fluid
9
+ * satisfying the AdS/CFT-correspondence assumptions (Einstein-gravity
10
+ * holographic dual, two-derivative bulk action) is conjectured to obey
11
+ * the bound η/s ≥ ℏ/(4π k_B).
12
+ *
13
+ * References:
14
+ * - Kovtun, Son & Starinets 2005 *Phys. Rev. Lett.* 94:111601
15
+ * (arXiv:hep-th/0405231; canonical KSS bound paper).
16
+ * - Son & Starinets 2002 *JHEP* 0209:042 (arXiv:hep-th/0205051;
17
+ * prerequisite Minkowski-correlator AdS/CFT recipe).
18
+ * - Policastro, Son & Starinets 2001 *Phys. Rev. Lett.* 87:081601
19
+ * (arXiv:hep-th/0104066; original η/s = 1/(4π) calculation in N=4
20
+ * SYM at strong coupling).
21
+ *
22
+ * Status: established (KSS itself is established AdS/CFT result).
23
+ *
24
+ * Honest-claude scope notes:
25
+ * - The bound η/s ≥ ℏ/(4π k_B) is a conjecture; the EQUALITY η/s =
26
+ * ℏ/(4π k_B) is the saturating value attained in the strong-coupling
27
+ * limit of N=4 super-Yang-Mills (Policastro-Son-Starinets 2001) and
28
+ * in any theory with an Einstein-gravity holographic dual. Encoding
29
+ * the equality (the saturating value) pins the canonical scalar; the
30
+ * ≥ inequality is the bridge's load-bearing claim.
31
+ * - The original BE-21 form was a holographic-dictionary retarded
32
+ * Green's function recipe (operator-valued, no clean scalar). The
33
+ * KSS bound is the canonical scalar reduction of the same Son-
34
+ * Starinets 2002 lineage and captures the most-cited AdS/CMT
35
+ * result: a *universal* dimensional constant for the viscosity/
36
+ * entropy-density ratio.
37
+ * - Dim: [η] = Pa·s = kg/(m·s) = [M L^-1 T^-1]; [s] = J/(K·m³) =
38
+ * [M L^-1 T^-2 Θ^-1]; [η/s] = T·Θ (= K·s in SI). Dim of ℏ/k_B:
39
+ * [J·s]/[J/K] = K·s. ✓
40
+ *
41
+ * @see docs/specification/Part-II.md ("Bridge Equation 21")
42
+ * @see src/bridges/index.ts BRIDGE_EQUATIONS.find(e => e.id === 21)
43
+ * @module bridges/equations/be-21-kss-bound
44
+ */
45
+ import { validate, validateEquation } from '../../dimensional/validator.js';
46
+ import { DIMENSIONLESS, } from '../../dimensional/types.js';
47
+ import { hbar as DIM_hbar, k_B as DIM_kB } from '../../dimensional/constants.js';
48
+ import { PhysicalConstants } from '../../core/types.js';
49
+ const sym = (name, dim) => ({ kind: 'symbol', name, dim });
50
+ /** [T Θ] — viscosity-to-entropy-density ratio dimension (K·s in SI). */
51
+ export const VISCOSITY_OVER_ENTROPY_DENSITY = {
52
+ L: 0, M: 0, T: 1, I: 0, Theta: 1, N: 0, J: 0,
53
+ };
54
+ /**
55
+ * RHS of the KSS saturating value:
56
+ * η/s = ℏ / (4π k_B)
57
+ *
58
+ * Encoded as `ℏ / (4π · k_B)` — both numerator and denominator carry
59
+ * dim [J·s] / [J/K] = [T Θ].
60
+ */
61
+ export const BE21_KSS_RHS = {
62
+ kind: 'op', op: '/',
63
+ args: [
64
+ sym('hbar', DIM_hbar),
65
+ {
66
+ kind: 'op', op: '*',
67
+ args: [
68
+ sym('4pi', DIMENSIONLESS),
69
+ sym('k_B', DIM_kB),
70
+ ],
71
+ },
72
+ ],
73
+ };
74
+ /** LHS: η/s has dimension [T Θ]. */
75
+ export const BE21_KSS_LHS = sym('eta_over_s', VISCOSITY_OVER_ENTROPY_DENSITY);
76
+ // --- Numerical evaluator ---
77
+ /**
78
+ * Evaluate the KSS saturating viscosity-to-entropy-density ratio
79
+ *
80
+ * η/s = ℏ / (4π k_B)
81
+ *
82
+ * @returns η/s in K·s (SI). Approximately 6.075e-12 K·s.
83
+ */
84
+ export function evaluateKSSBound() {
85
+ const { hbar, kB } = PhysicalConstants;
86
+ return hbar / (4 * Math.PI * kB);
87
+ }
88
+ // --- Self-validation ---
89
+ /**
90
+ * Run the AST through the dimensional analyzer; both sides should be
91
+ * [T Θ] (viscosity / entropy-density).
92
+ */
93
+ export function validateBE21Dimensions() {
94
+ const eq = validateEquation(BE21_KSS_LHS, BE21_KSS_RHS);
95
+ const lhs = validate(BE21_KSS_LHS);
96
+ const rhs = validate(BE21_KSS_RHS);
97
+ return {
98
+ ok: eq.ok,
99
+ lhsDim: lhs.inferredDimension,
100
+ rhsDim: rhs.inferredDimension,
101
+ };
102
+ }
103
+ //# sourceMappingURL=be-21-kss-bound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be-21-kss-bound.js","sourceRoot":"","sources":["../../../src/bridges/equations/be-21-kss-bound.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAGH,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAEL,aAAa,GAGd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,GAAG,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,GAAG,GAAG,CAAC,IAAY,EAAE,GAAc,EAAY,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;AAExF,wEAAwE;AACxE,MAAM,CAAC,MAAM,8BAA8B,GAAc;I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,0 +1,90 @@
1
+ /**
2
+ * Bridge Equation 22 — Topological Entanglement Entropy
3
+ * (Kitaev-Preskill / Levin-Wen single-subsystem form).
4
+ *
5
+ * S(R) = α · L(R) − γ + O(L^-1)
6
+ *
7
+ * S(R) is the von Neumann entanglement entropy of subsystem R
8
+ * (dimensionless, in nats); α is a non-universal area-law coefficient
9
+ * with dim [L^-1]; L(R) is the perimeter (boundary length) of R, dim [L];
10
+ * γ is the topological entanglement entropy (dimensionless). For an
11
+ * abelian topological phase, γ = log D where D = √(Σᵢ d²ᵢ) is the
12
+ * total quantum dimension. For the Z₂ toric code, D = 2 and γ = log 2.
13
+ *
14
+ * References:
15
+ * - Kitaev-Preskill 2006 Phys. Rev. Lett. 96:110404
16
+ * (arXiv:hep-th/0510092): "Topological entanglement entropy".
17
+ * - Levin-Wen 2006 Phys. Rev. Lett. 96:110405
18
+ * (arXiv:cond-mat/0510613): "Detecting topological order in a
19
+ * ground state wave function".
20
+ *
21
+ * Status: speculative. The Kitaev-Preskill formula itself is
22
+ * established in condensed-matter / topological-order literature.
23
+ * The "QG link" framing (originally BE-22 in this catalog) is
24
+ * original to UPT and not in either reference: applying TEE to
25
+ * quantum gravity requires identifying which gravitational degree of
26
+ * freedom the boundary R bounds, which has not been committed to
27
+ * within UPT scope. The encoding pins the math; the bridge to QG is
28
+ * the speculative content.
29
+ *
30
+ * Honest-claude scope notes:
31
+ * - The `O(L^-1)` correction is dropped per the encoding scope; we
32
+ * encode only the leading area + topological terms.
33
+ * - The AST has no dedicated way to express "S(R) is dimensionless
34
+ * because each term is dimensionless"; we encode the RHS as
35
+ * `α · L − γ`, which the validator infers as DIMENSIONLESS
36
+ * because (α [L^-1]) · (L [L]) = [1] and γ is [1]. The lemma
37
+ * terms `BE22_AREA_TERM = α · L` and `BE22_TOPOLOGICAL_TERM = γ`
38
+ * are exposed for direct per-term verification.
39
+ * - Sign convention follows Kitaev-Preskill: TEE enters with a
40
+ * minus sign so that γ > 0 for non-trivial topological order.
41
+ * - Log base: natural log (entropy in nats). Bit-convention (log₂)
42
+ * would scale γ by 1/ln 2; the numerical evaluator does not pick
43
+ * a base — the caller passes γ directly.
44
+ *
45
+ * @see docs/specification/Part-II.md ("Bridge Equation 22: Topological Entanglement Entropy")
46
+ * @see src/bridges/index.ts BRIDGE_EQUATIONS.find(e => e.id === 22)
47
+ * @module bridges/equations/be-22-topological-entanglement
48
+ */
49
+ import type { ExprNode, DimensionValidationReport } from '../../dimensional/validator.js';
50
+ /**
51
+ * Lemma AST: the area-law term `α · L`. Exposed for direct dimensional
52
+ * verification — should infer to DIMENSIONLESS.
53
+ */
54
+ export declare const BE22_AREA_TERM: ExprNode;
55
+ /**
56
+ * Lemma AST: the topological term γ (already dimensionless by
57
+ * definition; exposed for symmetry with BE22_AREA_TERM).
58
+ */
59
+ export declare const BE22_TOPOLOGICAL_TERM: ExprNode;
60
+ /**
61
+ * RHS of `S(R) = α · L − γ` as a typed ExprNode tree. The
62
+ * `+ O(L^-1)` correction is dropped per the encoding scope.
63
+ */
64
+ export declare const BE22_TOPOLOGICAL_ENTANGLEMENT_RHS: ExprNode;
65
+ /** LHS: S(R) is dimensionless (entropy in nats). */
66
+ export declare const BE22_TOPOLOGICAL_ENTANGLEMENT_LHS: ExprNode;
67
+ export interface TEEInputs {
68
+ /** Non-universal area-law coefficient α in m^-1. Must be finite. */
69
+ alpha_per_meter: number;
70
+ /** Boundary length L(R) in metres. Must be ≥ 0. */
71
+ perimeter_m: number;
72
+ /** Topological entanglement entropy γ (nats). Must be finite. */
73
+ gamma: number;
74
+ }
75
+ /**
76
+ * Evaluate S(R) = α · L − γ in nats.
77
+ *
78
+ * Honest-claude: returns the leading-order Kitaev-Preskill form
79
+ * exactly; the `O(L^-1)` finite-size correction is not modelled. For
80
+ * the Z₂ toric code, γ = log 2 ≈ 0.693; for Fibonacci, γ ≈ 0.643.
81
+ *
82
+ * @returns S in nats (dimensionless).
83
+ */
84
+ export declare function evaluateTEE(input: TEEInputs): number;
85
+ /**
86
+ * Run the AST through the dimensional analyzer; LHS and RHS should
87
+ * both be DIMENSIONLESS.
88
+ */
89
+ export declare function validateTEEDimensions(): DimensionValidationReport;
90
+ //# sourceMappingURL=be-22-topological-entanglement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"be-22-topological-entanglement.d.ts","sourceRoot":"","sources":["../../../src/bridges/equations/be-22-topological-entanglement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAiB1F;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,QAM5B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,QAAsC,CAAC;AAE3E;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,QAM/C,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,iCAAiC,EAAE,QAAoC,CAAC;AAIrF,MAAM,WAAW,SAAS;IACxB,oEAAoE;IACpE,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAkBpD;AAID;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,yBAAyB,CAYjE"}