Sabnam 0.1.0__py3-none-any.whl
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.
- sabnam/__init__.py +10 -0
- sabnam/complex_flow.py +45 -0
- sabnam-0.1.0.dist-info/METADATA +236 -0
- sabnam-0.1.0.dist-info/RECORD +6 -0
- sabnam-0.1.0.dist-info/WHEEL +4 -0
- sabnam-0.1.0.dist-info/licenses/LICENSE +21 -0
sabnam/__init__.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""SABNAM: experimental tools for geometric-algebraic mathematics.
|
|
2
|
+
|
|
3
|
+
This package is an exploratory research scaffold, not a cryptographic
|
|
4
|
+
implementation and not a claim of novel mathematical results.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .complex_flow import complex_rotation, inverse_complex_rotation
|
|
8
|
+
|
|
9
|
+
__all__ = ["complex_rotation", "inverse_complex_rotation"]
|
|
10
|
+
__version__ = "0.1.0"
|
sabnam/complex_flow.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Baseline reversible flows in the complex plane.
|
|
2
|
+
|
|
3
|
+
The rotation flow implemented here is standard mathematics. It is included
|
|
4
|
+
as a reference model against which future SABNAM hypotheses can be tested.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
import cmath
|
|
10
|
+
import math
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def complex_rotation(
|
|
14
|
+
value: complex,
|
|
15
|
+
angular_velocity: float,
|
|
16
|
+
time: float,
|
|
17
|
+
) -> complex:
|
|
18
|
+
"""Evolve a complex value under dz/dt = i * omega * z.
|
|
19
|
+
|
|
20
|
+
Args:
|
|
21
|
+
value: Initial complex state.
|
|
22
|
+
angular_velocity: Constant angular velocity, in radians per unit time.
|
|
23
|
+
time: Signed elapsed time. Negative values evolve the state backward.
|
|
24
|
+
|
|
25
|
+
Returns:
|
|
26
|
+
The evolved complex value.
|
|
27
|
+
|
|
28
|
+
Raises:
|
|
29
|
+
TypeError: If value is not complex-compatible or parameters are non-real.
|
|
30
|
+
ValueError: If angular_velocity or time is not finite.
|
|
31
|
+
"""
|
|
32
|
+
omega = float(angular_velocity)
|
|
33
|
+
elapsed = float(time)
|
|
34
|
+
if not (math.isfinite(omega) and math.isfinite(elapsed)):
|
|
35
|
+
raise ValueError("angular_velocity and time must be finite")
|
|
36
|
+
return complex(value) * cmath.exp(1j * omega * elapsed)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def inverse_complex_rotation(
|
|
40
|
+
value: complex,
|
|
41
|
+
angular_velocity: float,
|
|
42
|
+
time: float,
|
|
43
|
+
) -> complex:
|
|
44
|
+
"""Recover the initial state by applying the inverse rotation."""
|
|
45
|
+
return complex_rotation(value, angular_velocity, -float(time))
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: Sabnam
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Experimental mathematical tools for studying continuous and reversible geometric-algebraic transformations.
|
|
5
|
+
Project-URL: Homepage, https://github.com/AssayFlux/Sabnam
|
|
6
|
+
Project-URL: Repository, https://github.com/AssayFlux/Sabnam
|
|
7
|
+
Project-URL: Issues, https://github.com/AssayFlux/Sabnam/issues
|
|
8
|
+
Author: Md Safarujjaman
|
|
9
|
+
License: MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2026 Md Safarujjaman
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Keywords: complex-numbers,dynamical-systems,geometry,mathematics,research
|
|
32
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
33
|
+
Classifier: Intended Audience :: Science/Research
|
|
34
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
+
Classifier: Programming Language :: Python :: 3
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
40
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
41
|
+
Requires-Python: >=3.10
|
|
42
|
+
Provides-Extra: dev
|
|
43
|
+
Requires-Dist: build>=1.2; extra == 'dev'
|
|
44
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
|
|
47
|
+
# SABNAM
|
|
48
|
+
|
|
49
|
+
### Spatial Algebraic Basis for Nonlinear Analysis of Motion
|
|
50
|
+
|
|
51
|
+
**A mathematical research programme by Md Safarujjaman**
|
|
52
|
+
**Repository:** AssayFlux / Sabnam
|
|
53
|
+
**Research status:** Exploratory research; reference construction documented
|
|
54
|
+
**Software status:** Pre-alpha; limited reference implementation
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## The idea
|
|
59
|
+
|
|
60
|
+
SABNAM investigates a question at the intersection of geometry, algebra and motion:
|
|
61
|
+
|
|
62
|
+
**Can the changing spatial configuration of a rolling body be connected to an internal mathematical state in a way that produces a precise, useful and provably interesting transformation system?**
|
|
63
|
+
|
|
64
|
+
The oloid is the geometric inspiration. Complex numbers and matrix algebra provide candidate internal descriptions. Continuous transformations provide the language for motion. Reversibility and invariants are properties to investigate, not assumptions to build into a conclusion.
|
|
65
|
+
|
|
66
|
+
The project is intended to develop mathematical understanding first. Possible applications in geometric simulation, mathematical modelling or reversible computation may be considered if justified by results. Cryptography is only a distant conditional possibility and is not a current capability or claim.
|
|
67
|
+
|
|
68
|
+
## What SABNAM is — and is not
|
|
69
|
+
|
|
70
|
+
SABNAM is an original research programme and a named modelling investigation maintained by Md Safarujjaman. The research combines selected mathematical ingredients into a coherent sequence of definitions and questions.
|
|
71
|
+
|
|
72
|
+
That authorship does not mean every ingredient is new. The oloid, rigid-body motion, complex numbers, matrix algebras, Pauli matrices, the SU(2)-SO(3) correspondence and unitary conjugation are established mathematics. The current equations are reference constructions derived from those subjects.
|
|
73
|
+
|
|
74
|
+
At present, SABNAM is **not**:
|
|
75
|
+
- an established new branch of mathematics;
|
|
76
|
+
- a proven new algebra or theorem;
|
|
77
|
+
- a complete physical simulator of an oloid;
|
|
78
|
+
- a validated encryption algorithm;
|
|
79
|
+
- a quantum-resistant or unbreakable security system.
|
|
80
|
+
|
|
81
|
+
The project will claim a mathematical contribution only when a precise result has been compared with prior work and supported by proof or reproducible evidence appropriate to the claim.
|
|
82
|
+
|
|
83
|
+
## The mathematical construction
|
|
84
|
+
|
|
85
|
+
The work is organized into three connected steps.
|
|
86
|
+
|
|
87
|
+
### Step 1 — Describe the state
|
|
88
|
+
|
|
89
|
+
A rigid body's pose is represented by a rotation and a translation. The candidate internal state is a complex vector. The combined reference space is
|
|
90
|
+
|
|
91
|
+
\[
|
|
92
|
+
\mathcal M_m=SE(3)\times\mathbb C^m.
|
|
93
|
+
\]
|
|
94
|
+
|
|
95
|
+
The oloid supplies a concrete reference shape. At this stage, the product space simply records spatial pose and internal data; it does not assume that one affects the other.
|
|
96
|
+
|
|
97
|
+
### Step 2 — Give the internal state an algebra
|
|
98
|
+
|
|
99
|
+
For the first reference model, the internal state is specialized to the ordinary matrix algebra
|
|
100
|
+
|
|
101
|
+
\[
|
|
102
|
+
\mathcal A=M_2(\mathbb C).
|
|
103
|
+
\]
|
|
104
|
+
|
|
105
|
+
A matrix in this algebra can be expressed in the Pauli basis as
|
|
106
|
+
|
|
107
|
+
\[
|
|
108
|
+
X=aI_2+\sigma(w),\qquad a\in\mathbb C,\quad w\in\mathbb C^3.
|
|
109
|
+
\]
|
|
110
|
+
|
|
111
|
+
A spatial rotation acts by unitary conjugation. In Pauli coordinates, this rotates the vector \(w\) in the ordinary three-dimensional sense. This is the standard adjoint representation associated with the double cover from SU(2) to SO(3), used here as a reference model.
|
|
112
|
+
|
|
113
|
+
### Step 3 — Move the state and examine its properties
|
|
114
|
+
|
|
115
|
+
For a prescribed differentiable pose path, define its spatial angular velocity and lift the orientation path to SU(2). The internal matrix then has a co-rotating reference evolution:
|
|
116
|
+
|
|
117
|
+
\[
|
|
118
|
+
\dot X=-\frac{i}{2}[\omega_s\cdot\sigma,X].
|
|
119
|
+
\]
|
|
120
|
+
|
|
121
|
+
The equation is equivalent to unitary conjugation along the prescribed path. It therefore has an explicit inverse and preserves standard spectral quantities such as trace, determinant and eigenvalues.
|
|
122
|
+
|
|
123
|
+
These facts follow from established matrix dynamics. They are not claimed as newly discovered SABNAM laws.
|
|
124
|
+
|
|
125
|
+
For an actual rolling body, the pose path must also satisfy contact and no-slip constraints. The oloid-specific equations must be reproduced from the existing mechanics literature before any new coupling is proposed.
|
|
126
|
+
|
|
127
|
+
## A small example: what the transformation does
|
|
128
|
+
|
|
129
|
+
Imagine a prescribed rotation about the vertical axis with angular speed 2 radians per second. After one quarter of a second, the body has rotated through half a radian.
|
|
130
|
+
|
|
131
|
+
Start with the internal matrix equal to the first Pauli matrix. Under the reference transport, it becomes a combination of the first and second Pauli matrices, with coefficients equal to the cosine and sine of half a radian.
|
|
132
|
+
|
|
133
|
+
The internal matrix has rotated with the body. Applying the inverse rotation recovers the starting matrix. Its eigenvalues and matrix norm remain unchanged.
|
|
134
|
+
|
|
135
|
+
This example explains the current model: it transports internal matrix data consistently with a known orientation path. It does not calculate the oloid's path, discover a new conserved quantity, or conceal information in a difficult-to-invert transformation.
|
|
136
|
+
|
|
137
|
+
A worked numerical example and a contact-geometry example are documented in the research walkthrough.
|
|
138
|
+
|
|
139
|
+
## Python package release
|
|
140
|
+
|
|
141
|
+
The Python distribution is published under the PyPI project name **sabnam** (version **0.1.0**). Install the current release with:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
python -m pip install sabnam
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
The import package remains `sabnam`. This first pre-alpha release contains only the complex-rotation reference implementation described below; the broader matrix and oloid mechanics research is not yet implemented in the package.
|
|
148
|
+
|
|
149
|
+
## What the software currently does
|
|
150
|
+
|
|
151
|
+
The Python package provides a small analytic reference implementation for the complex-plane equation
|
|
152
|
+
|
|
153
|
+
\[
|
|
154
|
+
\frac{dz}{dt}=i\omega z.
|
|
155
|
+
\]
|
|
156
|
+
|
|
157
|
+
It can:
|
|
158
|
+
- evolve a complex number through a constant angular velocity;
|
|
159
|
+
- apply the inverse evolution;
|
|
160
|
+
- support negative time as backward evolution.
|
|
161
|
+
|
|
162
|
+
The implementation is useful for checking the basic idea of a reversible continuous transformation and for providing a simple reference against which future numerical methods can be tested.
|
|
163
|
+
|
|
164
|
+
The current package does **not** yet implement:
|
|
165
|
+
- oloid geometry or contact detection;
|
|
166
|
+
- rigid-body integration on SE(3);
|
|
167
|
+
- the M2(C) matrix action;
|
|
168
|
+
- the Step 3 matrix transport equation;
|
|
169
|
+
- a physical rolling solver;
|
|
170
|
+
- cryptographic functions.
|
|
171
|
+
|
|
172
|
+
The mathematical specifications are ahead of the software implementation. This distinction is intentional and is tracked in the repository audit.
|
|
173
|
+
|
|
174
|
+
## How the research is evaluated
|
|
175
|
+
|
|
176
|
+
Every result is classified as one of the following:
|
|
177
|
+
|
|
178
|
+
- **Established mathematics:** a known definition, theorem or construction from prior work.
|
|
179
|
+
- **SABNAM modelling choice:** a deliberate choice of state, coordinates or assumptions for this investigation.
|
|
180
|
+
- **Derived result:** a statement proved from the stated definitions and assumptions.
|
|
181
|
+
- **Conjecture:** a precise claim that still needs proof or refutation.
|
|
182
|
+
- **Numerical observation:** a result seen in computation, not yet a proof.
|
|
183
|
+
- **Original contribution:** a result shown to be distinct from relevant prior work and supported by appropriate mathematical evidence.
|
|
184
|
+
|
|
185
|
+
A complicated equation is not evidence of novelty. Reversibility is not evidence of computational hardness. Numerical agreement is not a substitute for proof.
|
|
186
|
+
|
|
187
|
+
## Research direction
|
|
188
|
+
|
|
189
|
+
The next phase is a literature-led investigation of oloid contact geometry and geometric mechanics. It will first reproduce known rolling results, then ask whether the actual contact geometry justifies an internal-state coupling that is not merely ordinary rotation or a standard matrix flow.
|
|
190
|
+
|
|
191
|
+
A candidate contribution must have:
|
|
192
|
+
1. a precise definition and explicit assumptions;
|
|
193
|
+
2. a comparison with related geometry, mechanics, representation theory and matrix dynamics;
|
|
194
|
+
3. a statement of what would falsify it;
|
|
195
|
+
4. a proof or reproducible characterization;
|
|
196
|
+
5. independent review before strong novelty claims.
|
|
197
|
+
|
|
198
|
+
## Repository guide
|
|
199
|
+
|
|
200
|
+
| Document | Purpose |
|
|
201
|
+
|---|---|
|
|
202
|
+
| MASTERPLAN.md | Overall research stages, milestones and current direction |
|
|
203
|
+
| NORTH_STAR.md | Mission, core question and research principles |
|
|
204
|
+
| research/MATHEMATICAL_STEP_1_STATE_SPACE.md | State-space definition and oloid reference geometry |
|
|
205
|
+
| research/MATHEMATICAL_STEP_2_ALGEBRA_AND_ACTION.md | Matrix algebra and spatial rotation action |
|
|
206
|
+
| research/MATHEMATICAL_STEP_3_DYNAMICS_REVERSIBILITY_INVARIANTS.md | Time-dependent transport, inverse and invariant audit |
|
|
207
|
+
| research/WORKED_EXAMPLES_AND_PURPOSE.md | Worked examples and explanation of what the model does |
|
|
208
|
+
| research/LITERATURE_AND_NOVELTY_AUDIT.md | External literature comparison and novelty boundaries |
|
|
209
|
+
| research/REPOSITORY_AUDIT_2026-12-05.md | Repository inspection, implementation status and audit findings |
|
|
210
|
+
| research/IMPLEMENTATION_TRACEABILITY.md | Maps mathematical statements to software and test coverage |
|
|
211
|
+
| research/RESEARCH_NOTEBOOK.md | Chronological research record |
|
|
212
|
+
| research/RESEARCH_PLAN.md | Research methodology and next-phase plan |
|
|
213
|
+
| paper/SABNAM_preliminary_research_note.md | Preliminary concept and mathematical summary |
|
|
214
|
+
| src/sabnam/ | Python reference implementation |
|
|
215
|
+
| tests/ | Automated tests |
|
|
216
|
+
| pyproject.toml | Package metadata and development configuration |
|
|
217
|
+
| CITATION.cff | Citation metadata |
|
|
218
|
+
| LICENSE | MIT software license |
|
|
219
|
+
|
|
220
|
+
File names above are repository paths, not external references.
|
|
221
|
+
|
|
222
|
+
## Software and verification status
|
|
223
|
+
|
|
224
|
+
The package is pre-alpha and currently contains the complex-rotation baseline only. The automated test suite covers the closed-form result, magnitude preservation, inverse recovery, negative-time evolution and rejection of non-finite angular velocity or time.
|
|
225
|
+
|
|
226
|
+
The repository's GitHub Actions test workflow completed successfully for the audited main-branch commit on 5 December 2026. That workflow checks the configured Python versions and builds a distribution on its designated matrix entry. A passing workflow validates the tested software paths; it does not validate the entire mathematical research programme.
|
|
227
|
+
|
|
228
|
+
## Authorship, acknowledgement and licence
|
|
229
|
+
|
|
230
|
+
SABNAM is the research programme of **Md Safarujjaman**. The repository is maintained under the AssayFlux project namespace. Established mathematical results and prior publications are acknowledged in the relevant research documents.
|
|
231
|
+
|
|
232
|
+
The software is distributed under the MIT License. The license does not turn established mathematical facts or cited third-party research into original SABNAM discoveries.
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
**The guiding principle:** define carefully, compare honestly, calculate reproducibly, and claim originality only when it has been demonstrated.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
sabnam/__init__.py,sha256=XNF3saLvkk8akq7JEh6klv9YOXUrIdBuJRZ0V64pb7w,356
|
|
2
|
+
sabnam/complex_flow.py,sha256=6K9icWFzVA7gAbsoyvl0mluecGswq9SaUXljzsMW2lI,1354
|
|
3
|
+
sabnam-0.1.0.dist-info/METADATA,sha256=0XEOUrLaC75P43xoP4GZEtxLrwXdwwOr0l5i_TSCZdQ,12904
|
|
4
|
+
sabnam-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
5
|
+
sabnam-0.1.0.dist-info/licenses/LICENSE,sha256=-UpPSGmvlj2HTDHPvzgLixIDXVWX_CyD0S-YgzpqhA4,1072
|
|
6
|
+
sabnam-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Md Safarujjaman
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|