Math-correctness audit (2026-05-29) + Euclidean holonomy/τ fix + spherical oracle #26
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/uniformization-precision-note"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Bundles the 2026-05-29 Java↔C++ math-correctness audit (
doc/reviewer/java-port-audit.md, 11 findings) with two follow-up fixes.Audit code changes
spherical_functional): edge-DOF replacement parameterization viaspher_eff_lambda; edge gradientα_opp⁺+α_opp⁻−θ_e(drops the additive−(S⁺+S⁻)/2term). Vertex-only path bit-for-bit unchanged.spherical_hessian): always-compiled edge-DOFthrowguard.period_matrix): faithfulnormalizeModulus(0≤Re≤½, Im≥0, |τ|≥1).inversive_distance): degenerate-face limiting angles instead of skipping.euclidean): degenerate gradient limiting angles + Hessian edge-DOF guard.Euclidean holonomy / τ end-to-end fix
cut_graphnow exposesis_dual_tree), so genus-1 cut edges yield non-degenerate lattice generators.0 / NaN / 1e13on the bundled tori; now matches the analytic revolution modulusi·√(R²−r²)/r.validation.md§3/§4.Tests — 240 CGAL, 0 skipped
HolonomyEndToEnd ×3— tori of revolution (4×4, hex 6×6, 8×8) vs analytic modulus.SphericalFunctional.EdgeGradient_RegularTetClosedForm— independent closed-formπ/3oracle locking Finding 3 (the path-integral FD check cannot detect a wrong-but-conservative gradient).Also
research-track.md(Phase 9c/10).favour/normalisationsto the codespell ignore list.Test plan
cmake -S code -B build -DWITH_CGAL_TESTS=ON && cmake --build build --target conformallab_cgal_tests→ 240/240 passconformallab_tests→ 23/23 passBUILD_DIR=build bash scripts/check-test-counts.sh→ OK (non-CGAL 23, CGAL 240)torus_4x4 / hex_6x6 / 8x8print τ = 1.793151i / 2.850258i / 2.841296idocs: note high-precision requirement for Phase 9c/10 uniformizationto Math-correctness audit (2026-05-29) + Euclidean holonomy/τ fix + spherical oracle