Loading…
Reference in a new issue
No description provided.
Delete branch "feat/third-door-cartan-procrustes-fidelity"
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
Closes the two remaining red operators on the Third-Door Blueprint Fidelity Ledger by implementing Super §2.2 / §3.1 for real — not namesake heuristics.
Depends on already-merged substrate: #27 (
N_O/N_INF+algebra/null_point.py) and #28 (CI arm64).What changed
Cartan–Iwasawa (
cartan_iwasawa_factorize) — issue #16recover_dilation→ right-peel D →recover_translation→ right-peel T → remainder R (reconstruction orderR·T·D)n∞): honest Spin remainderR=V,T=I,D=I— never fabricate broken R/D seedsValueError(fail-closed)Conformal Procrustes — issue #17
w=e5−e4) → centroids → scale + Kabsch withdet=+1strip → assembleV=T(t)·D(s)·Rvianull_point+so3_matrix_to_rotor→ grade-1 sandwich adjoint residualW F_A − F_B W = 0+ Spin GN; residual is raw sandwich (notversor_applyunitize on non-null images)word_transition_rotoraveraging path (left composition ≠ sandwich analogy)rotor_powerdual-slerp fix(a+B)^α = a^α + α a^{α-1} B— dual-correction no longer silently zeros the translation legLedger
Reviewer HIGHs closed (pre-land)
versor_applyunitizing non-null images)cartan_iwasawa_extract(5×5)raises — no identity-factor stubrotor_powerraises on non-simple simple-dispatch; boost domain guarded; null translator power exactR·T ≈ V·D⁻¹) — residual alone is not proofContainment
chat/runtime.pydoes not import these operatorsversor_condition < 1e-6on every returned versorFiles
core/physics/dynamic_manifold.pyalgebra/rotor.pyevals/analogical_transfer/harness.pytests/test_third_door_blueprint_fidelity.pytests/test_adr_0239_dynamic_manifold.pytests/test_rotor_power.pydocs/research/third-door-blueprint-fidelity.mdTest plan
python3 -m pytest tests/test_third_door_blueprint_fidelity.py tests/test_adr_0239_dynamic_manifold.py tests/test_adr_0239_surprise_dual.py tests/test_adr_0239_surprise_metric_projection.py tests/test_null_point_primitives.py tests/test_adr_0240_analogical_transfer.py tests/test_rotor_power.py tests/test_rotor_power_general.py -q→ 549 passed, 2 skippeddual_correction_slerp, harness, self_authorship, surprise dual callersOut of scope (explicit)
Closes ledger gaps #16 and #17 when merged.
- Cartan: recover_dilation → peel D → recover_translation → peel T; Spin remainder for non-similarities; strict close (no seed-to-rotor); recon residual fallback. Flips fidelity xfail. - Procrustes: full 5-D Kabsch on null-point clouds; field conjugacy via raw sandwich + Spin GN; delete word_transition_rotor averaging path. Non-vacuous harness fixture. - rotor_power: null-bivector power (a+B)^α = a^α + α a^{α-1} B so translators no longer silently zero under dual-slerp. - Ledger scorecard: #2 and #3 → 🟢; #4 remains 🟡 (bootstrap deferred). 549 passed (fidelity + ADR-0239 + null_point + 0240 + rotor_power).Independent lead-engineer review — APPROVED
Full mastery of diffs (7 files). All ledger gaps #16/#17 closed to spec.
Cartan–Iwasawa (#16)
_strict_close_versorat every boundary; no seed fabrication.rotor_powernull-bivector fix prevents translation zeroing.Conformal Procrustes (#17)
Test surface
Invariants preserved
Risks — none material. New GN bounded/deterministic; relies only on merged #27 null-point substrate.
Next: Merge. Then we can resume #18 GoldTether remainders (bootstrap / principal-axis prune / ADR-0092).
LGTM. Merge when CI green.