coordinate-system 7.0.0__tar.gz → 7.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {coordinate_system-7.0.0/coordinate_system.egg-info → coordinate_system-7.0.2}/PKG-INFO +36 -67
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/README.md +32 -63
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system/__init__.py +102 -61
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system/complex_geometric_physics.py +177 -178
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system/curve_interpolation.py +4 -3
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system/differential_geometry.py +81 -1
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system/spectral_geometry.py +1169 -1185
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system/u3_frame.py +25 -3
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system/visualization.py +4 -3
- {coordinate_system-7.0.0 → coordinate_system-7.0.2/coordinate_system.egg-info}/PKG-INFO +36 -67
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system_binding.cpp +4 -3
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/pmsys_minimal.hpp +274 -276
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/pyproject.toml +3 -3
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/setup.py +5 -4
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/LICENSE +0 -0
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/MANIFEST.in +0 -0
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system.egg-info/SOURCES.txt +0 -0
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system.egg-info/dependency_links.txt +0 -0
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system.egg-info/not-zip-safe +0 -0
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system.egg-info/requires.txt +0 -0
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/coordinate_system.egg-info/top_level.txt +0 -0
- {coordinate_system-7.0.0 → coordinate_system-7.0.2}/setup.cfg +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: coordinate_system
|
|
3
|
-
Version: 7.0.
|
|
3
|
+
Version: 7.0.2
|
|
4
4
|
Summary: High-performance 3D coordinate system library with unified differential geometry, quantum frame algebra, and Christmas Equation (CFUT)
|
|
5
5
|
Home-page: https://github.com/panguojun/Coordinate-System
|
|
6
|
-
Author:
|
|
7
|
-
Author-email:
|
|
6
|
+
Author: Pan Guojun
|
|
7
|
+
Author-email: Pan Guojun <18858146@qq.com>
|
|
8
8
|
License: MIT
|
|
9
9
|
Project-URL: Homepage, https://github.com/panguojun/Coordinate-System
|
|
10
10
|
Project-URL: Documentation, https://github.com/panguojun/Coordinate-System/blob/main/README.md
|
|
11
11
|
Project-URL: Repository, https://github.com/panguojun/Coordinate-System
|
|
12
12
|
Project-URL: Bug Reports, https://github.com/panguojun/Coordinate-System/issues
|
|
13
|
-
Project-URL: DOI, https://
|
|
13
|
+
Project-URL: DOI, https://doi.org/10.5281/zenodo.14435613
|
|
14
14
|
Keywords: 3d,math,vector,quaternion,coordinate-system,geometry,differential-geometry,curvature,spectral-analysis,christmas-equation,cfut,unified-field-theory,complex-frame
|
|
15
15
|
Platform: Windows
|
|
16
16
|
Platform: Linux
|
|
@@ -50,17 +50,26 @@ Requires-Dist: matplotlib>=3.3.0
|
|
|
50
50
|
[](https://pypi.org/project/coordinate-system/)
|
|
51
51
|
[](LICENSE)
|
|
52
52
|
|
|
53
|
-
**
|
|
54
|
-
**Version:** 7.0.
|
|
53
|
+
**Authors:** Pan Guojun
|
|
54
|
+
**Version:** 7.0.1
|
|
55
55
|
**License:** MIT
|
|
56
|
-
**DOI:**
|
|
56
|
+
**DOI:** https://doi.org/10.5281/zenodo.14435613
|
|
57
57
|
|
|
58
58
|
---
|
|
59
59
|
|
|
60
|
+
## What's New in v7.0.1 (2026-01-16)
|
|
61
|
+
|
|
62
|
+
- **Physical Constants**: Added SI unit constants for precision calculations (ALPHA_FS, LAMBDA_C, ALPHA_PROJECTION)
|
|
63
|
+
- **Projection Factor**: Implemented α = α_fs × λ_c ≈ 1.77×10⁻¹⁴ m for geometry-gauge coupling
|
|
64
|
+
- **Numerical Verification**: New `verify_cfut_theory.py` script with complete experimental validation
|
|
65
|
+
- **Equation Decomposition**: Real/imaginary parts analysis with classical limit verification
|
|
66
|
+
- **Experimental Comparison**: All calculations validated against CODATA 2018 data (error < 10⁻⁹)
|
|
67
|
+
- **Documentation**: Added `VERIFICATION_REPORT.md` with detailed numerical results
|
|
68
|
+
|
|
60
69
|
## What's New in v7.0.0-alpha (2026-01-14)
|
|
61
70
|
|
|
62
|
-
-
|
|
63
|
-
- **
|
|
71
|
+
- **Complex Geometric Physics Module**: New `complex_geometric_physics` module for field theory calculations
|
|
72
|
+
- **U(3) Frame Implementation**: U(3) complex field with real-imaginary decomposition
|
|
64
73
|
- **Einstein Tensor**: Compute Ĝ_μν from complex frame field U(x)
|
|
65
74
|
- **Chern-Simons Current**: Topological current K̄_μ for gauge field analysis
|
|
66
75
|
- **Energy-Momentum Tensor**: Real-imaginary decomposition for matter and topology
|
|
@@ -73,7 +82,7 @@ Requires-Dist: matplotlib>=3.3.0
|
|
|
73
82
|
```
|
|
74
83
|
coordinate_system/
|
|
75
84
|
├── coordinate_system.pyd/.so # C++ core (vec3, quat, coord3)
|
|
76
|
-
├── complex_geometric_physics.py #
|
|
85
|
+
├── complex_geometric_physics.py # Complex geometric physics module
|
|
77
86
|
├── spectral_geometry.py # FourierFrame [GL(1,C)], spectral analysis
|
|
78
87
|
├── u3_frame.py # U3Frame [U(3)], gauge field theory
|
|
79
88
|
├── differential_geometry.py # Surface curvature calculation
|
|
@@ -86,9 +95,8 @@ coordinate_system/
|
|
|
86
95
|
| Class | Group | DOF | Use Case |
|
|
87
96
|
|-------|-------|-----|----------|
|
|
88
97
|
| `coord3` | Sim(3) = R³ ⋊ (SO(3) × R⁺) | 10 | 3D coordinate transform |
|
|
89
|
-
| `ComplexFrame` | U(3) complex field | 18 | 🎄 Unified field theory (CFUT) |
|
|
90
98
|
| `FourierFrame` | GL(1,C) = U(1) × R⁺ | 2 | Spectral geometry, heat kernel |
|
|
91
|
-
| `U3Frame` | U(3) = SU(3) × U(1) | 9 | Gauge field theory |
|
|
99
|
+
| `U3Frame` | U(3) = SU(3) × U(1) | 9 | Gauge field theory, gauge transforms |
|
|
92
100
|
|
|
93
101
|
---
|
|
94
102
|
|
|
@@ -184,53 +192,6 @@ F_xy = conn_x.field_strength(conn_y)
|
|
|
184
192
|
S_YM = F_xy.yang_mills_action()
|
|
185
193
|
```
|
|
186
194
|
|
|
187
|
-
### 🎄 Complex Geometric Physics (Christmas Equation)
|
|
188
|
-
|
|
189
|
-
```python
|
|
190
|
-
from coordinate_system import (
|
|
191
|
-
ComplexFrame,
|
|
192
|
-
EnergyMomentumTensor,
|
|
193
|
-
ChristmasEquation,
|
|
194
|
-
create_flat_spacetime_frame,
|
|
195
|
-
create_curved_spacetime_frame,
|
|
196
|
-
create_gauge_field_frame,
|
|
197
|
-
M_PLANCK,
|
|
198
|
-
LAMBDA_TOPO
|
|
199
|
-
)
|
|
200
|
-
import numpy as np
|
|
201
|
-
|
|
202
|
-
# Create complex frames
|
|
203
|
-
flat_frame = create_flat_spacetime_frame()
|
|
204
|
-
curved_frame = create_curved_spacetime_frame(curvature=0.1)
|
|
205
|
-
gauge_frame = create_gauge_field_frame(field_strength=0.1)
|
|
206
|
-
|
|
207
|
-
# Initialize Christmas Equation solver
|
|
208
|
-
solver = ChristmasEquation()
|
|
209
|
-
print(f"Planck mass: {solver.M_P:.3e} GeV")
|
|
210
|
-
print(f"Topological coupling: {solver.lambda_topo:.4f}")
|
|
211
|
-
|
|
212
|
-
# Compute geometric quantities
|
|
213
|
-
G_tensor = solver.einstein_tensor(curved_frame)
|
|
214
|
-
K_current = solver.chern_simons_current(gauge_frame)
|
|
215
|
-
|
|
216
|
-
# Create matter energy-momentum tensor
|
|
217
|
-
matter_real = np.diag([1.0, 0.1, 0.1, 0.1])
|
|
218
|
-
matter_imag = np.zeros((4, 4))
|
|
219
|
-
T_matter = EnergyMomentumTensor(matter_real, matter_imag)
|
|
220
|
-
|
|
221
|
-
# Solve the Christmas Equation
|
|
222
|
-
# M_P²/2 Ĝ_μν[U] + λ/(32π²) ∇̂_(μ K̄_ν)[U] = T̂_μν^(top)[U] + T̂_μν^(mat)
|
|
223
|
-
solution = solver.solve_christmas_equation(gauge_frame, T_matter)
|
|
224
|
-
print(f"Geometric term norm: {np.linalg.norm(solution['geometric_term']):.6e}")
|
|
225
|
-
print(f"Topological term norm: {np.linalg.norm(solution['topological_term']):.6e}")
|
|
226
|
-
print(f"Equation balanced: {solution['balanced']}")
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
**The Christmas Equation** unifies geometry and topology:
|
|
230
|
-
- **Left side**: Geometry (Einstein tensor) + Topology (Chern-Simons current)
|
|
231
|
-
- **Right side**: Topological source + Matter source
|
|
232
|
-
- **Real part U^(R)**: Geometric properties (metric, curvature, spacetime)
|
|
233
|
-
- **Imaginary part U^(I)**: Topological properties (phase winding, gauge symmetry)
|
|
234
195
|
|
|
235
196
|
---
|
|
236
197
|
|
|
@@ -238,9 +199,7 @@ print(f"Equation balanced: {solution['balanced']}")
|
|
|
238
199
|
|
|
239
200
|
| Concept | Formula | Code |
|
|
240
201
|
|---------|---------|------|
|
|
241
|
-
|
|
|
242
|
-
| Einstein Tensor | $\hat{G}_{\mu\nu} = R_{\mu\nu} - \frac{1}{2}g_{\mu\nu} R$ | `ChristmasEquation.einstein_tensor()` |
|
|
243
|
-
| Chern-Simons Current | $\bar{K}_\mu = \varepsilon_{\mu\nu\rho\sigma} \text{Tr}(A^\nu F^{\rho\sigma})$ | `ChristmasEquation.chern_simons_current()` |
|
|
202
|
+
| Projection Factor (v7.0.1) | $\alpha = \alpha_{\text{fs}} \times \lambda_c \approx 1.77 \times 10^{-14}$ m | `ALPHA_PROJECTION` |
|
|
244
203
|
| Intrinsic Gradient | $G_\mu = \frac{d}{dx^\mu} \log C(x)$ | `IntrinsicGradient` |
|
|
245
204
|
| Curvature Tensor | $R_{\mu\nu} = [G_\mu, G_\nu]$ | `CurvatureFromFrame` |
|
|
246
205
|
| Gaussian Curvature | $K = -\langle [G_u, G_v] e_v, e_u \rangle / \sqrt{\det g}$ | `compute_gaussian_curvature` |
|
|
@@ -277,14 +236,24 @@ print(f"Equation balanced: {solution['balanced']}")
|
|
|
277
236
|
|
|
278
237
|
## Changelog
|
|
279
238
|
|
|
239
|
+
### v7.0.1 (2026-01-16)
|
|
240
|
+
- **Physical Constants**: Added SI unit constants (ALPHA_FS, LAMBDA_C, ALPHA_PROJECTION)
|
|
241
|
+
- **Projection Factor**: Implemented α = α_fs × λ_c ≈ 1.77×10⁻¹⁴ m for geometry-gauge coupling
|
|
242
|
+
- **Complex Geometric Physics**: Added `projection_factor` parameter to unified field solver
|
|
243
|
+
- **Numerical Verification**: New `verify_cfut_theory.py` script with complete validation
|
|
244
|
+
- **Equation Decomposition**: Real/imaginary parts analysis with classical limit verification
|
|
245
|
+
- **Experimental Validation**: All calculations compared with CODATA 2018 data (error < 10⁻⁹)
|
|
246
|
+
- **Documentation**: Added `VERIFICATION_REPORT.md` with detailed numerical results
|
|
247
|
+
- **Bug Fix**: Corrected Compton wavelength calculation (h instead of ℏ)
|
|
248
|
+
|
|
280
249
|
### v7.0.0-alpha (2026-01-14)
|
|
281
|
-
-
|
|
282
|
-
- **
|
|
283
|
-
- **
|
|
250
|
+
- **Complex Geometric Physics Module**: New `complex_geometric_physics.py` module
|
|
251
|
+
- **U(3) Frame Implementation**: U(3) complex field with real-imaginary decomposition
|
|
252
|
+
- **U3Frame**: U(x) = U^(R)(x) + iU^(I)(x) decomposition
|
|
284
253
|
- **EnergyMomentumTensor**: Real-imaginary tensor decomposition
|
|
285
|
-
- **
|
|
254
|
+
- **Unified Field Solver**: Einstein tensor, Chern-Simons current, topological energy-momentum
|
|
286
255
|
- **Complete English Translation**: All documentation and code comments in English
|
|
287
|
-
- **DOI
|
|
256
|
+
- **DOI:** https://doi.org/10.5281/zenodo.14435613
|
|
288
257
|
|
|
289
258
|
### v6.0.4 (2025-12-08)
|
|
290
259
|
- `frames.py` → `spectral_geometry.py`
|
|
@@ -6,17 +6,26 @@
|
|
|
6
6
|
[](https://pypi.org/project/coordinate-system/)
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
|
|
9
|
-
**
|
|
10
|
-
**Version:** 7.0.
|
|
9
|
+
**Authors:** Pan Guojun
|
|
10
|
+
**Version:** 7.0.1
|
|
11
11
|
**License:** MIT
|
|
12
|
-
**DOI:**
|
|
12
|
+
**DOI:** https://doi.org/10.5281/zenodo.14435613
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
+
## What's New in v7.0.1 (2026-01-16)
|
|
17
|
+
|
|
18
|
+
- **Physical Constants**: Added SI unit constants for precision calculations (ALPHA_FS, LAMBDA_C, ALPHA_PROJECTION)
|
|
19
|
+
- **Projection Factor**: Implemented α = α_fs × λ_c ≈ 1.77×10⁻¹⁴ m for geometry-gauge coupling
|
|
20
|
+
- **Numerical Verification**: New `verify_cfut_theory.py` script with complete experimental validation
|
|
21
|
+
- **Equation Decomposition**: Real/imaginary parts analysis with classical limit verification
|
|
22
|
+
- **Experimental Comparison**: All calculations validated against CODATA 2018 data (error < 10⁻⁹)
|
|
23
|
+
- **Documentation**: Added `VERIFICATION_REPORT.md` with detailed numerical results
|
|
24
|
+
|
|
16
25
|
## What's New in v7.0.0-alpha (2026-01-14)
|
|
17
26
|
|
|
18
|
-
-
|
|
19
|
-
- **
|
|
27
|
+
- **Complex Geometric Physics Module**: New `complex_geometric_physics` module for field theory calculations
|
|
28
|
+
- **U(3) Frame Implementation**: U(3) complex field with real-imaginary decomposition
|
|
20
29
|
- **Einstein Tensor**: Compute Ĝ_μν from complex frame field U(x)
|
|
21
30
|
- **Chern-Simons Current**: Topological current K̄_μ for gauge field analysis
|
|
22
31
|
- **Energy-Momentum Tensor**: Real-imaginary decomposition for matter and topology
|
|
@@ -29,7 +38,7 @@
|
|
|
29
38
|
```
|
|
30
39
|
coordinate_system/
|
|
31
40
|
├── coordinate_system.pyd/.so # C++ core (vec3, quat, coord3)
|
|
32
|
-
├── complex_geometric_physics.py #
|
|
41
|
+
├── complex_geometric_physics.py # Complex geometric physics module
|
|
33
42
|
├── spectral_geometry.py # FourierFrame [GL(1,C)], spectral analysis
|
|
34
43
|
├── u3_frame.py # U3Frame [U(3)], gauge field theory
|
|
35
44
|
├── differential_geometry.py # Surface curvature calculation
|
|
@@ -42,9 +51,8 @@ coordinate_system/
|
|
|
42
51
|
| Class | Group | DOF | Use Case |
|
|
43
52
|
|-------|-------|-----|----------|
|
|
44
53
|
| `coord3` | Sim(3) = R³ ⋊ (SO(3) × R⁺) | 10 | 3D coordinate transform |
|
|
45
|
-
| `ComplexFrame` | U(3) complex field | 18 | 🎄 Unified field theory (CFUT) |
|
|
46
54
|
| `FourierFrame` | GL(1,C) = U(1) × R⁺ | 2 | Spectral geometry, heat kernel |
|
|
47
|
-
| `U3Frame` | U(3) = SU(3) × U(1) | 9 | Gauge field theory |
|
|
55
|
+
| `U3Frame` | U(3) = SU(3) × U(1) | 9 | Gauge field theory, gauge transforms |
|
|
48
56
|
|
|
49
57
|
---
|
|
50
58
|
|
|
@@ -140,53 +148,6 @@ F_xy = conn_x.field_strength(conn_y)
|
|
|
140
148
|
S_YM = F_xy.yang_mills_action()
|
|
141
149
|
```
|
|
142
150
|
|
|
143
|
-
### 🎄 Complex Geometric Physics (Christmas Equation)
|
|
144
|
-
|
|
145
|
-
```python
|
|
146
|
-
from coordinate_system import (
|
|
147
|
-
ComplexFrame,
|
|
148
|
-
EnergyMomentumTensor,
|
|
149
|
-
ChristmasEquation,
|
|
150
|
-
create_flat_spacetime_frame,
|
|
151
|
-
create_curved_spacetime_frame,
|
|
152
|
-
create_gauge_field_frame,
|
|
153
|
-
M_PLANCK,
|
|
154
|
-
LAMBDA_TOPO
|
|
155
|
-
)
|
|
156
|
-
import numpy as np
|
|
157
|
-
|
|
158
|
-
# Create complex frames
|
|
159
|
-
flat_frame = create_flat_spacetime_frame()
|
|
160
|
-
curved_frame = create_curved_spacetime_frame(curvature=0.1)
|
|
161
|
-
gauge_frame = create_gauge_field_frame(field_strength=0.1)
|
|
162
|
-
|
|
163
|
-
# Initialize Christmas Equation solver
|
|
164
|
-
solver = ChristmasEquation()
|
|
165
|
-
print(f"Planck mass: {solver.M_P:.3e} GeV")
|
|
166
|
-
print(f"Topological coupling: {solver.lambda_topo:.4f}")
|
|
167
|
-
|
|
168
|
-
# Compute geometric quantities
|
|
169
|
-
G_tensor = solver.einstein_tensor(curved_frame)
|
|
170
|
-
K_current = solver.chern_simons_current(gauge_frame)
|
|
171
|
-
|
|
172
|
-
# Create matter energy-momentum tensor
|
|
173
|
-
matter_real = np.diag([1.0, 0.1, 0.1, 0.1])
|
|
174
|
-
matter_imag = np.zeros((4, 4))
|
|
175
|
-
T_matter = EnergyMomentumTensor(matter_real, matter_imag)
|
|
176
|
-
|
|
177
|
-
# Solve the Christmas Equation
|
|
178
|
-
# M_P²/2 Ĝ_μν[U] + λ/(32π²) ∇̂_(μ K̄_ν)[U] = T̂_μν^(top)[U] + T̂_μν^(mat)
|
|
179
|
-
solution = solver.solve_christmas_equation(gauge_frame, T_matter)
|
|
180
|
-
print(f"Geometric term norm: {np.linalg.norm(solution['geometric_term']):.6e}")
|
|
181
|
-
print(f"Topological term norm: {np.linalg.norm(solution['topological_term']):.6e}")
|
|
182
|
-
print(f"Equation balanced: {solution['balanced']}")
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
**The Christmas Equation** unifies geometry and topology:
|
|
186
|
-
- **Left side**: Geometry (Einstein tensor) + Topology (Chern-Simons current)
|
|
187
|
-
- **Right side**: Topological source + Matter source
|
|
188
|
-
- **Real part U^(R)**: Geometric properties (metric, curvature, spacetime)
|
|
189
|
-
- **Imaginary part U^(I)**: Topological properties (phase winding, gauge symmetry)
|
|
190
151
|
|
|
191
152
|
---
|
|
192
153
|
|
|
@@ -194,9 +155,7 @@ print(f"Equation balanced: {solution['balanced']}")
|
|
|
194
155
|
|
|
195
156
|
| Concept | Formula | Code |
|
|
196
157
|
|---------|---------|------|
|
|
197
|
-
|
|
|
198
|
-
| Einstein Tensor | $\hat{G}_{\mu\nu} = R_{\mu\nu} - \frac{1}{2}g_{\mu\nu} R$ | `ChristmasEquation.einstein_tensor()` |
|
|
199
|
-
| Chern-Simons Current | $\bar{K}_\mu = \varepsilon_{\mu\nu\rho\sigma} \text{Tr}(A^\nu F^{\rho\sigma})$ | `ChristmasEquation.chern_simons_current()` |
|
|
158
|
+
| Projection Factor (v7.0.1) | $\alpha = \alpha_{\text{fs}} \times \lambda_c \approx 1.77 \times 10^{-14}$ m | `ALPHA_PROJECTION` |
|
|
200
159
|
| Intrinsic Gradient | $G_\mu = \frac{d}{dx^\mu} \log C(x)$ | `IntrinsicGradient` |
|
|
201
160
|
| Curvature Tensor | $R_{\mu\nu} = [G_\mu, G_\nu]$ | `CurvatureFromFrame` |
|
|
202
161
|
| Gaussian Curvature | $K = -\langle [G_u, G_v] e_v, e_u \rangle / \sqrt{\det g}$ | `compute_gaussian_curvature` |
|
|
@@ -233,14 +192,24 @@ print(f"Equation balanced: {solution['balanced']}")
|
|
|
233
192
|
|
|
234
193
|
## Changelog
|
|
235
194
|
|
|
195
|
+
### v7.0.1 (2026-01-16)
|
|
196
|
+
- **Physical Constants**: Added SI unit constants (ALPHA_FS, LAMBDA_C, ALPHA_PROJECTION)
|
|
197
|
+
- **Projection Factor**: Implemented α = α_fs × λ_c ≈ 1.77×10⁻¹⁴ m for geometry-gauge coupling
|
|
198
|
+
- **Complex Geometric Physics**: Added `projection_factor` parameter to unified field solver
|
|
199
|
+
- **Numerical Verification**: New `verify_cfut_theory.py` script with complete validation
|
|
200
|
+
- **Equation Decomposition**: Real/imaginary parts analysis with classical limit verification
|
|
201
|
+
- **Experimental Validation**: All calculations compared with CODATA 2018 data (error < 10⁻⁹)
|
|
202
|
+
- **Documentation**: Added `VERIFICATION_REPORT.md` with detailed numerical results
|
|
203
|
+
- **Bug Fix**: Corrected Compton wavelength calculation (h instead of ℏ)
|
|
204
|
+
|
|
236
205
|
### v7.0.0-alpha (2026-01-14)
|
|
237
|
-
-
|
|
238
|
-
- **
|
|
239
|
-
- **
|
|
206
|
+
- **Complex Geometric Physics Module**: New `complex_geometric_physics.py` module
|
|
207
|
+
- **U(3) Frame Implementation**: U(3) complex field with real-imaginary decomposition
|
|
208
|
+
- **U3Frame**: U(x) = U^(R)(x) + iU^(I)(x) decomposition
|
|
240
209
|
- **EnergyMomentumTensor**: Real-imaginary tensor decomposition
|
|
241
|
-
- **
|
|
210
|
+
- **Unified Field Solver**: Einstein tensor, Chern-Simons current, topological energy-momentum
|
|
242
211
|
- **Complete English Translation**: All documentation and code comments in English
|
|
243
|
-
- **DOI
|
|
212
|
+
- **DOI:** https://doi.org/10.5281/zenodo.14435613
|
|
244
213
|
|
|
245
214
|
### v6.0.4 (2025-12-08)
|
|
246
215
|
- `frames.py` → `spectral_geometry.py`
|
|
@@ -23,12 +23,23 @@ Group Correspondence:
|
|
|
23
23
|
- FourierFrame ∈ GL(1,C) = U(1) × R⁺
|
|
24
24
|
- U3Frame ∈ U(3) = SU(3) × U(1)
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
**Authors:** Pan Guojun
|
|
27
|
+
Version: 7.0.1
|
|
28
|
+
**DOI:** https://doi.org/10.5281/zenodo.14435613
|
|
27
29
|
"""
|
|
28
30
|
|
|
29
|
-
__version__ = '7.0.
|
|
30
|
-
|
|
31
|
-
from .coordinate_system import
|
|
31
|
+
__version__ = '7.0.1'
|
|
32
|
+
|
|
33
|
+
from .coordinate_system import (
|
|
34
|
+
vec3,
|
|
35
|
+
vec2,
|
|
36
|
+
cross,
|
|
37
|
+
cross_right,
|
|
38
|
+
set_handedness,
|
|
39
|
+
get_handedness,
|
|
40
|
+
is_left_handed,
|
|
41
|
+
is_right_handed,
|
|
42
|
+
)
|
|
32
43
|
from .coordinate_system import quat
|
|
33
44
|
from .coordinate_system import coord3
|
|
34
45
|
|
|
@@ -40,24 +51,32 @@ from .differential_geometry import (
|
|
|
40
51
|
Torus,
|
|
41
52
|
|
|
42
53
|
# Core classes
|
|
43
|
-
MetricTensor,
|
|
44
|
-
GradientResult,
|
|
45
|
-
IntrinsicGradientOperator,
|
|
46
|
-
IntrinsicGradientCurvatureCalculator,
|
|
47
|
-
|
|
54
|
+
MetricTensor,
|
|
55
|
+
GradientResult,
|
|
56
|
+
IntrinsicGradientOperator,
|
|
57
|
+
IntrinsicGradientCurvatureCalculator,
|
|
58
|
+
LieGroupCurvatureCalculator,
|
|
59
|
+
CurvatureCalculator,
|
|
48
60
|
|
|
49
61
|
# Intrinsic gradient method functions (default)
|
|
50
|
-
compute_gaussian_curvature,
|
|
51
|
-
compute_mean_curvature,
|
|
52
|
-
compute_riemann_curvature,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
62
|
+
compute_gaussian_curvature,
|
|
63
|
+
compute_mean_curvature,
|
|
64
|
+
compute_riemann_curvature,
|
|
65
|
+
compute_curvature_tensor,
|
|
66
|
+
compute_all_curvatures,
|
|
67
|
+
compute_intrinsic_gradient,
|
|
68
|
+
|
|
69
|
+
# Intrinsic gradient legacy aliases
|
|
70
|
+
intrinsic_gradient_gaussian_curvature,
|
|
71
|
+
intrinsic_gradient_mean_curvature,
|
|
72
|
+
intrinsic_gradient_principal_curvatures,
|
|
73
|
+
intrinsic_gradient_all_curvatures,
|
|
74
|
+
|
|
75
|
+
# Classical method functions
|
|
76
|
+
gaussian_curvature_classical,
|
|
77
|
+
mean_curvature_classical,
|
|
78
|
+
principal_curvatures_classical,
|
|
79
|
+
all_curvatures_classical,
|
|
61
80
|
|
|
62
81
|
# Backward compatibility aliases
|
|
63
82
|
gaussian_curvature,
|
|
@@ -65,8 +84,9 @@ from .differential_geometry import (
|
|
|
65
84
|
principal_curvatures,
|
|
66
85
|
all_curvatures,
|
|
67
86
|
|
|
68
|
-
# Method comparison
|
|
69
|
-
compare_methods,
|
|
87
|
+
# Method comparison
|
|
88
|
+
compare_methods,
|
|
89
|
+
gaussian_curvature_lie,
|
|
70
90
|
|
|
71
91
|
# Utility functions
|
|
72
92
|
derivative_5pt,
|
|
@@ -114,11 +134,11 @@ from .u3_frame import (
|
|
|
114
134
|
)
|
|
115
135
|
|
|
116
136
|
# Complex Geometric Physics module (Christmas Equation, CFUT)
|
|
117
|
-
from .complex_geometric_physics import (
|
|
118
|
-
# Core classes
|
|
119
|
-
ComplexFrame,
|
|
120
|
-
EnergyMomentumTensor,
|
|
121
|
-
ChristmasEquation,
|
|
137
|
+
from .complex_geometric_physics import (
|
|
138
|
+
# Core classes (U3Frame imported from u3_frame module above)
|
|
139
|
+
ComplexFrame,
|
|
140
|
+
EnergyMomentumTensor,
|
|
141
|
+
ChristmasEquation,
|
|
122
142
|
|
|
123
143
|
# Utility functions
|
|
124
144
|
create_flat_spacetime_frame,
|
|
@@ -128,6 +148,9 @@ from .complex_geometric_physics import (
|
|
|
128
148
|
# Constants
|
|
129
149
|
M_PLANCK,
|
|
130
150
|
LAMBDA_TOPO,
|
|
151
|
+
ALPHA_FS,
|
|
152
|
+
LAMBDA_C,
|
|
153
|
+
ALPHA_PROJECTION,
|
|
131
154
|
)
|
|
132
155
|
|
|
133
156
|
# Visualization module
|
|
@@ -155,22 +178,28 @@ __all__ = [
|
|
|
155
178
|
# Constants
|
|
156
179
|
'ZERO3', 'UNITX', 'UNITY', 'UNITZ', 'ONE3', 'ONE4', 'ONEC',
|
|
157
180
|
|
|
158
|
-
# Core types
|
|
159
|
-
'vec3', 'vec2', 'quat', 'coord3', 'lerp',
|
|
181
|
+
# Core types
|
|
182
|
+
'vec3', 'vec2', 'quat', 'coord3', 'lerp', 'cross', 'cross_right',
|
|
183
|
+
'set_handedness', 'get_handedness', 'is_left_handed', 'is_right_handed',
|
|
160
184
|
|
|
161
185
|
# Differential geometry - Surface classes
|
|
162
186
|
'Surface', 'Sphere', 'Torus',
|
|
163
187
|
|
|
164
188
|
# Differential geometry - Core classes
|
|
165
189
|
'MetricTensor', 'GradientResult',
|
|
166
|
-
'IntrinsicGradientOperator', 'IntrinsicGradientCurvatureCalculator',
|
|
167
|
-
'
|
|
190
|
+
'IntrinsicGradientOperator', 'IntrinsicGradientCurvatureCalculator',
|
|
191
|
+
'LieGroupCurvatureCalculator',
|
|
192
|
+
'CurvatureCalculator',
|
|
168
193
|
|
|
169
194
|
# Differential geometry - Intrinsic gradient method (default)
|
|
170
|
-
'compute_gaussian_curvature', 'compute_mean_curvature',
|
|
171
|
-
'compute_riemann_curvature', 'compute_all_curvatures',
|
|
172
|
-
'compute_intrinsic_gradient',
|
|
173
|
-
|
|
195
|
+
'compute_gaussian_curvature', 'compute_mean_curvature',
|
|
196
|
+
'compute_riemann_curvature', 'compute_curvature_tensor', 'compute_all_curvatures',
|
|
197
|
+
'compute_intrinsic_gradient',
|
|
198
|
+
|
|
199
|
+
# Differential geometry - Intrinsic gradient legacy aliases
|
|
200
|
+
'intrinsic_gradient_gaussian_curvature', 'intrinsic_gradient_mean_curvature',
|
|
201
|
+
'intrinsic_gradient_principal_curvatures', 'intrinsic_gradient_all_curvatures',
|
|
202
|
+
|
|
174
203
|
# Differential geometry - Classical method
|
|
175
204
|
'gaussian_curvature_classical', 'mean_curvature_classical',
|
|
176
205
|
'principal_curvatures_classical', 'all_curvatures_classical',
|
|
@@ -180,8 +209,8 @@ __all__ = [
|
|
|
180
209
|
'principal_curvatures', 'all_curvatures',
|
|
181
210
|
|
|
182
211
|
# Differential geometry - Comparison and utilities
|
|
183
|
-
'compare_methods',
|
|
184
|
-
'derivative_5pt', 'derivative_2nd_5pt', 'richardson_extrapolation',
|
|
212
|
+
'compare_methods', 'gaussian_curvature_lie',
|
|
213
|
+
'derivative_5pt', 'derivative_2nd_5pt', 'richardson_extrapolation',
|
|
185
214
|
|
|
186
215
|
# Spectral geometry module (FourierFrame, GL(1,C))
|
|
187
216
|
'FourierFrame', 'FourierFrameSpectrum',
|
|
@@ -190,16 +219,17 @@ __all__ = [
|
|
|
190
219
|
'spectral_transform', 'inverse_spectral_transform',
|
|
191
220
|
'HBAR', 'GPU_AVAILABLE',
|
|
192
221
|
|
|
193
|
-
# U(3) Frame module (Gauge theory)
|
|
194
|
-
'U3Frame', 'SU3Component',
|
|
195
|
-
'GaugeConnection', 'FieldStrength',
|
|
196
|
-
'SymmetryBreakingPotential',
|
|
197
|
-
|
|
198
|
-
# Complex Geometric Physics
|
|
199
|
-
'ComplexFrame', 'EnergyMomentumTensor', 'ChristmasEquation',
|
|
200
|
-
'create_flat_spacetime_frame', 'create_curved_spacetime_frame',
|
|
201
|
-
'M_PLANCK', 'LAMBDA_TOPO',
|
|
202
|
-
|
|
222
|
+
# U(3) Frame module (Gauge theory)
|
|
223
|
+
'U3Frame', 'SU3Component',
|
|
224
|
+
'GaugeConnection', 'FieldStrength',
|
|
225
|
+
'SymmetryBreakingPotential',
|
|
226
|
+
|
|
227
|
+
# Complex Geometric Physics
|
|
228
|
+
'ComplexFrame', 'EnergyMomentumTensor', 'ChristmasEquation',
|
|
229
|
+
'create_flat_spacetime_frame', 'create_curved_spacetime_frame',
|
|
230
|
+
'create_gauge_field_frame', 'M_PLANCK', 'LAMBDA_TOPO',
|
|
231
|
+
'ALPHA_FS', 'LAMBDA_C', 'ALPHA_PROJECTION',
|
|
232
|
+
|
|
203
233
|
# Visualization
|
|
204
234
|
'CoordinateSystemVisualizer', 'CurveVisualizer', 'ParametricCurve',
|
|
205
235
|
'visualize_coord_system', 'visualize_curve',
|
|
@@ -286,16 +316,26 @@ class CoordTuple(tuple):
|
|
|
286
316
|
return (result.x, result.y, result.z)
|
|
287
317
|
|
|
288
318
|
|
|
289
|
-
# Store original coord3 operators
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
319
|
+
# Store original coord3 operators
|
|
320
|
+
_original_coord3_init = coord3.__init__
|
|
321
|
+
_original_coord3_mul = coord3.__mul__
|
|
322
|
+
_original_coord3_rmul = coord3.__rmul__
|
|
323
|
+
_original_coord3_truediv = getattr(coord3, '__truediv__', None)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
def _new_coord3_init(self, *args, **kwargs):
|
|
327
|
+
"""Extended coord3 initializer with two-axis convenience."""
|
|
328
|
+
if len(args) == 2 and all(isinstance(arg, vec3) for arg in args):
|
|
329
|
+
ux, uy = args
|
|
330
|
+
uz = ux.cross(uy)
|
|
331
|
+
return _original_coord3_init(self, ux, uy, uz)
|
|
332
|
+
return _original_coord3_init(self, *args, **kwargs)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
def _new_coord3_mul(self, other):
|
|
336
|
+
"""Enhanced multiplication operator for coord3."""
|
|
337
|
+
if isinstance(other, tuple):
|
|
338
|
+
other = CoordTuple(other)
|
|
299
339
|
return other * self
|
|
300
340
|
return _original_coord3_mul(self, other)
|
|
301
341
|
|
|
@@ -318,7 +358,8 @@ def _new_coord3_truediv(self, other):
|
|
|
318
358
|
raise TypeError(f"unsupported operand type(s) for /: 'coord3' and {type(other).__name__}")
|
|
319
359
|
|
|
320
360
|
|
|
321
|
-
# Apply enhancements to coord3 operators
|
|
322
|
-
coord3.
|
|
323
|
-
coord3.
|
|
324
|
-
coord3.
|
|
361
|
+
# Apply enhancements to coord3 operators
|
|
362
|
+
coord3.__init__ = _new_coord3_init
|
|
363
|
+
coord3.__mul__ = _new_coord3_mul
|
|
364
|
+
coord3.__rmul__ = _new_coord3_rmul
|
|
365
|
+
coord3.__truediv__ = _new_coord3_truediv
|