Implementations - zfifteen/unified-framework GitHub Wiki
Implementations and Code
Overview
- High-level modules (examples — adjust to actual repo files):
- axioms.py — core classes for UniversalZForm and validation utilities
- domain.py — PhysicalDomainZ, DiscreteZetaShift, embeddings and geometric transforms
- utils/ — helper routines, numeric wrappers for mpmath and numpy
- notebooks/ — Z5D_Reference_Impl-2.ipynb
API highlights (example)
- UniversalZForm
- compute_z(A, B, c, precision=1e-16)
- Validates input types and precision targets.
- PhysicalDomainZ
- time_dilation(v, c)
- length_contraction(L0, v, c)
- raises ValueError for |v| ≥ c
- DiscreteZetaShift
- getD(n), getE(n), curvature_kappa(n)
- theta_prime(n, k=0.3)
Testing
- Tests should use mpmath for precision-sensitive computations.
- Include test datasets or small fixtures to ensure deterministic outputs.
Examples
- Show a short code snippet that computes Z for a simple discrete mapping (link to real code in repo).
Notes
- Document any deviations from the Z Framework Guidelines in code docstrings.