|
5 | 5 | # you may not use this file except in compliance with the License. |
6 | 6 | # |
7 | 7 |
|
8 | | -"""Lorentz Transformation Debugger in Spacetime Algebra Cl(3,1). |
| 8 | +""" |
| 9 | +============================================================================== |
| 10 | +VERSOR EXPERIMENT: MATHEMATICAL DEBUGGER |
| 11 | +============================================================================== |
| 12 | +
|
| 13 | +This script is designed to validate topological and algebraic phenomena |
| 14 | +rather than to achieve State-of-the-Art (SOTA) on traditional benchmarks. |
| 15 | +Our primary focus here is to explore pure geometric intuition within the |
| 16 | +Clifford Algebra framework. |
| 17 | +
|
| 18 | +Please kindly note that as an experimental module, formal mathematical proofs |
| 19 | +and exhaustive literature reviews may still be in progress. We warmly invite |
| 20 | +you to run the code, test your own hypotheses, and open a GitHub Issue if you |
| 21 | +discover any fascinating geometric behaviors or encounter structural limitations. |
| 22 | +
|
| 23 | +============================================================================== |
| 24 | +
|
| 25 | +Lorentz Transformation Debugger in Spacetime Algebra Cl(3,1). |
9 | 26 |
|
10 | 27 | Validates Versor's geometric algebra operations against known physical |
11 | 28 | laws of special relativity. Spacetime events are grade-1 vectors, |
|
25 | 42 | 5. Invariant mass: m^2 = -s^2 preserved under transformation |
26 | 43 | 6. Rapidity extraction: recover phi from learned rotor (pure boost) |
27 | 44 | 7. Velocity addition: R(phi1)R(phi2) = R(phi1 + phi2) |
28 | | -
|
29 | | -Usage: |
30 | | - uv run python -m experiments.lorentz_debugger --epochs 200 |
31 | | - uv run python -m experiments.lorentz_debugger --strict-ortho --boost-type combined |
32 | | - uv run python -m experiments.lorentz_debugger --save-plots --output-dir my_plots |
33 | | - uv run python -m experiments.lorentz_debugger --rapidity-max 2.0 --diag-interval 10 |
34 | 45 | """ |
35 | 46 |
|
| 47 | + |
36 | 48 | from __future__ import annotations |
37 | 49 |
|
38 | 50 | import sys |
|
52 | 64 |
|
53 | 65 | from core.algebra import CliffordAlgebra |
54 | 66 | from core.metric import ( |
55 | | - signature_norm_squared, hermitian_distance, hermitian_norm, |
| 67 | + signature_norm_squared, hermitian_distance, |
56 | 68 | hermitian_grade_spectrum, signature_trace_form, |
57 | 69 | ) |
58 | 70 | from layers import CliffordLinear |
|
0 commit comments