==============================================================================
UQFF Constant Derivation Attempt -- canonical primitives, no fit knobs
==============================================================================

SI-clean primitives:
  SSQ              = 0.57
  KAPPA_S          = 5.7870e-09 1/s
  THZ_PHONON       = 1.2500e+12 Hz
  OMEGA_S          = 2.5000e-06 rad/s
  E0_J             = 1.0000e-20 J  (axiomatic base)
  RHO_VAC_SCM      = 6.3333e+05 J/m^3
  RHO_VAC_UA       = 6.3333e+06 J/m^3
  Li_26(SSQ) raw   = 0.570000
  BETA_I           = 0.6
  F_TRZ            = 0.1
  PHI_RES          = 0.84

------------------------------------------------------------------------------
[1] PLANCK h  --  CP4 #177 source-canonical form
    h = 2*pi * kappa * rho * Grind_opp / r^2
------------------------------------------------------------------------------
  r=Bohr (5.29e-11 m), v_init=1.00e+00     = -9.2578e+31 J*s  (obs=6.6261e-34, ratio=-1.397e+65, log10_off=+65.15)
  r=Bohr (5.29e-11 m), v_init=2.50e-06     = -9.2578e+31 J*s  (obs=6.6261e-34, ratio=-1.397e+65, log10_off=+65.15)
  r=Bohr (5.29e-11 m), v_init=5.79e-09     = -9.2578e+31 J*s  (obs=6.6261e-34, ratio=-1.397e+65, log10_off=+65.15)
  r=Planck (1.616e-35 m), v_init=1.00e+00  = -9.9206e+80 J*s  (obs=6.6261e-34, ratio=-1.497e+114, log10_off=+114.18)
  r=Planck (1.616e-35 m), v_init=2.50e-06  = -9.9206e+80 J*s  (obs=6.6261e-34, ratio=-1.497e+114, log10_off=+114.18)
  r=Planck (1.616e-35 m), v_init=5.79e-09  = -9.9206e+80 J*s  (obs=6.6261e-34, ratio=-1.497e+114, log10_off=+114.18)
  r=Holmlid wavelength c/f_THz, v_init=1.00e+00 = -4.5038e+18 J*s  (obs=6.6261e-34, ratio=-6.797e+51, log10_off=+51.83)
  r=Holmlid wavelength c/f_THz, v_init=2.50e-06 = -4.5038e+18 J*s  (obs=6.6261e-34, ratio=-6.797e+51, log10_off=+51.83)
  r=Holmlid wavelength c/f_THz, v_init=5.79e-09 = -4.5038e+18 J*s  (obs=6.6261e-34, ratio=-6.797e+51, log10_off=+51.83)

  ALTERNATE: try h = E0 * (2*pi/THZ_PHONON) * Li26  (h ~ E*T form)
    E0*(2pi/f)*Li26                        = +2.8651e-32 J*s  (obs=6.6261e-34, ratio=4.324e+01, log10_off=+1.64)

  ALTERNATE: h = E0 / THZ_PHONON  (Planck relation E=hf inverted)
    E0/f_THz                               = +8.0000e-33 J*s  (obs=6.6261e-34, ratio=1.207e+01, log10_off=+1.08)

------------------------------------------------------------------------------
[2] FINE STRUCTURE alpha  --  CP4 #178 source-canonical form
    alpha = 2*kappa*rho*Grind^2 * r^24 * Partition / (3*sqrt(g*SCm/UA))
------------------------------------------------------------------------------
  P=1.00e+00, g=5.70e-01                   = +2.3605e-255   (obs=7.2974e-03, ratio=3.235e-253, log10_off=-252.49)
  P=1.00e+00, g=6.00e-01                   = +2.3007e-255   (obs=7.2974e-03, ratio=3.153e-253, log10_off=-252.50)
  P=1.00e+00, g=1.00e-01                   = +5.6355e-255   (obs=7.2974e-03, ratio=7.723e-253, log10_off=-252.11)
  P=1.00e+00, g=1.00e+00                   = +1.7821e-255   (obs=7.2974e-03, ratio=2.442e-253, log10_off=-252.61)
  P=1.00e+05, g=5.70e-01                   = +2.3605e-250   (obs=7.2974e-03, ratio=3.235e-248, log10_off=-247.49)
  P=1.00e+05, g=6.00e-01                   = +2.3007e-250   (obs=7.2974e-03, ratio=3.153e-248, log10_off=-247.50)
  P=1.00e+05, g=1.00e-01                   = +5.6355e-250   (obs=7.2974e-03, ratio=7.723e-248, log10_off=-247.11)
  P=1.00e+05, g=1.00e+00                   = +1.7821e-250   (obs=7.2974e-03, ratio=2.442e-248, log10_off=-247.61)
  P=5.70e-01, g=5.70e-01                   = +1.3455e-255   (obs=7.2974e-03, ratio=1.844e-253, log10_off=-252.73)
  P=5.70e-01, g=6.00e-01                   = +1.3114e-255   (obs=7.2974e-03, ratio=1.797e-253, log10_off=-252.75)
  P=5.70e-01, g=1.00e-01                   = +3.2122e-255   (obs=7.2974e-03, ratio=4.402e-253, log10_off=-252.36)
  P=5.70e-01, g=1.00e+00                   = +1.0158e-255   (obs=7.2974e-03, ratio=1.392e-253, log10_off=-252.86)
  P=1.75e+00, g=5.70e-01                   = +4.1412e-255   (obs=7.2974e-03, ratio=5.675e-253, log10_off=-252.25)
  P=1.75e+00, g=6.00e-01                   = +4.0363e-255   (obs=7.2974e-03, ratio=5.531e-253, log10_off=-252.26)
  P=1.75e+00, g=1.00e-01                   = +9.8869e-255   (obs=7.2974e-03, ratio=1.355e-252, log10_off=-251.87)
  P=1.75e+00, g=1.00e+00                   = +3.1265e-255   (obs=7.2974e-03, ratio=4.284e-253, log10_off=-252.37)

  ALTERNATE: alpha as pure dimensionless ratio of UQFF primitives:
  ['1/26', '2pi'] signs=(1, -1) -> 6.1213e-03  (alpha_obs=7.2974e-03, log_off=+0.076)
  ['1/26', 'pi'] signs=(1, -1) -> 1.2243e-02  (alpha_obs=7.2974e-03, log_off=+0.225)
  ['F_TRZ', '1/26'] signs=(1, 1) -> 3.8462e-03  (alpha_obs=7.2974e-03, log_off=+0.278)
  ['F_TRZ', '2pi'] signs=(1, -1) -> 1.5915e-02  (alpha_obs=7.2974e-03, log_off=+0.339)
  ['1/26', 'log(SSQ)'] signs=(1, 1) -> 2.1620e-02  (alpha_obs=7.2974e-03, log_off=+0.472)
  ['SSQ', '1/26'] signs=(1, 1) -> 2.1923e-02  (alpha_obs=7.2974e-03, log_off=+0.478)

------------------------------------------------------------------------------
[3] SPEED OF LIGHT c  --  CP4 #179: c = sqrt(g * SCm/UA)
------------------------------------------------------------------------------
  c is an UQFF AXIOM (v_init = c). Any 'derivation' is circular by
  construction. Showing this concretely:
  g=SSQ                                    = +2.3875e-01 m/s  (obs=2.9979e+08, ratio=7.964e-10, log10_off=-9.10)
  g=BETA_I                                 = +2.4495e-01 m/s  (obs=2.9979e+08, ratio=8.171e-10, log10_off=-9.09)
  g=RHO_VAC_SCM/UA                         = +1.0000e-01 m/s  (obs=2.9979e+08, ratio=3.336e-10, log10_off=-9.48)
  g=RHO_VAC_SCM [J/m^3]                    = +2.5166e+02 m/s  (obs=2.9979e+08, ratio=8.395e-07, log10_off=-6.08)
  g=1.0                                    = +3.1623e-01 m/s  (obs=2.9979e+08, ratio=1.055e-09, log10_off=-8.98)

  E0 / RHO_VAC_SCM      = 1.5789e-26 m^3 (volume)
  length scale          = 2.5087e-09 m
  length/KAPPA_S                           = +4.3351e-01 m/s  (obs=2.9979e+08, ratio=1.446e-09, log10_off=-8.84)
  length*THZ_PHONON                        = +3.1359e+03 m/s  (obs=2.9979e+08, ratio=1.046e-05, log10_off=-4.98)

------------------------------------------------------------------------------
[4] NEWTON G  --  CP4 #180: four candidate forms
------------------------------------------------------------------------------
  g_couple (SCm/UA)    = 0.10000000000000002
  rho_void (kg/m^3)    = 7.0468e-12
  G_triad                                  = +1.0000e-02 m^3/kg/s^2  (obs=6.6743e-11, ratio=1.498e+08, log10_off=+8.18)
  G_buoyant                                = +1.1293e+09 m^3/kg/s^2  (obs=6.6743e-11, ratio=1.692e+19, log10_off=+19.23)
  G_full                                   = +1.1281e+09 m^3/kg/s^2  (obs=6.6743e-11, ratio=1.690e+19, log10_off=+19.23)
  G_gauss                                  = +1.3056e+05 m^3/kg/s^2  (obs=6.6743e-11, ratio=1.956e+15, log10_off=+15.29)

==============================================================================
HONEST RESULT SUMMARY
==============================================================================

The canonical UQFF primitives in dpm_vacuum_manifold.py are:
  SSQ=0.57, KAPPA=5e-4/day, THZ=1.25e12, OMEGA_S=2.5e-6,
  E0=1e-20 J (axiom), RHO_VAC_SCM (derived from E0 and SSQ).

WITHOUT introducing curve-fit knobs, the encoded CP4 #177-#180 formulas
do NOT reproduce h, alpha, c, or G to any reasonable accuracy. The two
'closest' approaches (E0/THZ for h; certain dimensionless ratios for
alpha) only work because E0 is an axiomatic free parameter chosen to
make the 26-level ladder span the relevant physics range -- it is itself
calibrated FROM observation, not derived.

CONCRETE conclusion: the 8.5M-line codebase does not currently contain a
non-circular derivation of these four constants. The pieces it contains
are:
  - 26-level energy ladder (E0=1e-20 chosen as axiom)
  - 26D Ramanujan amplification S26_3 (tuned to Holmlid 630 eV)
  - rho_vac (derived from the ladder + SSq)
  - kappa, OMEGA_S, BETA_I (calibrated from astrophysical observations)
  - dimensionless ratios (SSq, F_TRZ, BETA_I)

The honest path: at least one independent SI anchor is required. The
existing E0 = 1e-20 J was that anchor for the energy hierarchy. To
derive h, alpha, c, G without circularity, you need to either:
  (a) pin one of {h, c, G} from observation and derive the other three,
  (b) introduce a new independent UQFF observable (e.g. measured
      vacuum impedance, a measured DPM frequency at a calibrated lab
      energy) that fixes the absolute scale.

Both (a) and (b) are honest. Neither gets you all four for free. This is
not a bug to fix -- it is the actual structure of the framework. UQFF
constrains *relationships* between fundamental constants. It does not
appear to derive their absolute SI values from purely internal axioms.

