Record audited shape-field compensation and cubic surface structure before order trial

This commit is contained in:
2026-09-18 13:45:27 -04:00
parent 2c4a5e05a6
commit 211be17190
3 changed files with 520 additions and 1 deletions

View File

@@ -62,4 +62,99 @@ comparison, not evidence of high-n/high-rotation convergence.
## Results
Pending recorded runs. No production default has been changed on the baseline.
Baseline observations are recorded below. No production default has been changed on this baseline branch.
### Reproducible baseline
Evidence root: `../../diagnostics/shape_field_weak_response_2026-09-18` relative
to this checkout. Frozen probes `baseline_probes_v1` use source `d79db94`; the
six-update control `q3_live_v1` uses `2c4a5e0`. Both include immutable binaries,
mesh/input hashes, commands, clean-source provenance, and independent elapsed
and CPU clocks. All full-J linear gates passed. Independent audits
`baseline_probes_audit_v2.json` and `q3_live_audit_v1.json` pass; accepted buffers,
factors and restored actions agree exactly. Q3 curved/tensor/geometry regression:
5 cases, 21,368 assertions passed.
The first checker version omitted the new cache-preservation invariant from its
schema. Version 2 requires it. A small finite synthetic matrix reproduced
NumPy/Accelerate matmul warnings; direct finite-checked contractions avoid that
backend path, without changing tolerances. Raw FEM artifacts remain unchanged.
The artifact checker passes 38 tiny algebra/corruption fixtures. The angular
analyzer independently checks its degree-8 recurrence, orthogonality, cubic
symmetries, rank, and file binding on analytic fixtures.
| Observation | Seed | Old late state (12 updates) | Fresh control (6 updates) | Coupled endpoint (6 updates) |
|---|---:|---:|---:|---:|
| Normalized residual | 2.73659e-4 | 1.39670e-5 | 1.49720e-5 | 1.24583e-5 |
| Sampled block-span minimum singular response | 5.80574e-2 | 1.43543e-4 | 8.16558e-4 | 6.94894e-4 |
| Sampled surface radius span / nodal mean | 3.42403e-5 | 1.24122e-2 | 1.09849e-2 | 1.11125e-2 |
The largest sampled singular response remains approximately 22.1–22.6. The SVD
uses the six nonzero disjoint value-block pieces of each p, normalized by their
coefficient norms. It is not a full-J spectrum or rank test. In particular,
comparing the 12-step late state with six-step endpoints does not demonstrate a
causal benefit of the coupled correction: the matched six-step control has a
slightly stronger minimum response than the coupled endpoint.
Late q14 Eulerian/pullback change norm ratios are density 0.05769, enthalpy
0.18870, potential 0.01288, versus seed 0.3243, 0.3080, 0.1993. This is substantial
transport compensation but not physically invisible motion. Broken DG gradients
omit jumps. The maximum q10/q14 relative difference in the three original cases'
Eulerian squared integrals is 1.69e-5, an integration sensitivity observation.
The radius observations expose a validation gap: the old late state has nodal
radii 0.997674–1.010093, while its q18 P(h)-based virial error is 4.06909e-6.
The fresh six-step control has q18 virial error 4.22590e-6 and reproduces the old
six-step residual trajectory. Neither is converged or physically certified;
negative density samples remain. Virial success can coexist with appreciable
nonrotating surface asphericity at these unfinished states.
`q3_surface_modes_v1.json` contains unweighted fits, not surface-integral power.
The 12-step late direction is 99.9995107% cubic-invariant in sampled squared
norm, but degree <=8 spherical harmonics leave 0.893679 of its nodal norm.
Degree <=2 leaves 0.981646. Thus this is predominantly finer cubic-symmetric
structure, not simple expansion, translation, or quadrupolar deformation.
This is consistent with mesh/discretization coupling, without proving its cause.
The affine control on the actual stellar mesh gives Q3 relative value error
9.01277e-5 and gradient error 1.23472e-3. This warrants the isolated Q4 comparison,
but adding surface modes could also worsen weak response.
### Structural interpretation and a rejected shortcut
At J=0, bulk Bernoulli rows are unweighted moments. Their direct shape derivative
at fixed reference-field coefficients is `integral(q * B * div(v))`; the EOS
shape column similarly contains its local closure imbalance. Thus pointwise
near-equilibrium shape information increasingly relies on gravity and mechanical
coupling. Small projected residuals alone do not prove small pointwise imbalance.
Current shape rows are the prescribed lift's transpose applied to volume force.
For regular surface h~s, density~s^n and pressure~s^(n+1), weakening near-surface
coupling as n increases is plausible. DG jumps and the independent RT field
prevent concluding exact discrete redundancy from the continuum identities.
Relevant assembly: `libmeanfield/impl/operators/prepared_hydrostatic_equilibrium.cpp`
(lines 864–911, 1354–1397), `operators/kernels/barotropic_closure_kernels.cpp`
(line 655), and `operators/prepared_stellar_equilibrium.cpp` (lines 806–811).
A naive replacement of mechanical shape rows by surface Bernoulli moments is
rank deficient at the desired pointwise B=0, J=0 root with the current trace
spaces. The actual closed stellar surface has 96 quads, 192 edges, 98 vertices.
Continuous surface Qp has 96*p*p+2 degrees of freedom; broken Q(p-1) potential
traces supply only 96*p*p. Q3 surface therefore has 866 rows versus 864 DG Q2
stellar trace coefficients, after eliminating enforced h=0 trace variations.
C adds no independent trace dimension; the direct shape measure term vanishes
with B. Surface-only Q4 widens this hypothetical deficit to 1538-864=674.
This concerns that proposed replacement, not a proven deficiency of the current
mechanical Jacobian. Any boundary formulation requires a compatible trace/test
space and explicit rank/stability analysis.
An invertible transport coordinate/preconditioner change preserves roots and may
improve linear algebra, but cannot itself change the exact Newton direction or
remove a true weak physical response. Shape representation, step control, and
operator formulation remain distinct hypotheses.
### Q4 intervention
Pending on its isolated branch. Its rationale is to remove measured ambient
affine representation error and test the effect on the observed weak direction;
the additional surface modes and quadrature changes are explicit confounders.