topographo
Executable tools for Topographical Graph Theory (TGT): reusable Cayley-Dickson and sedenion settlement math.
Topographo packages the reusable mathematical core behind the Occurrence Theory research notes. The package is intentionally narrower than the paper: it exposes the Cayley-Dickson and sedenion settlement computations needed for TGT without importing the interpretive narrative layer or printing audit output at import time.
In this package, TGT means the computational study of the sedenion zero-divisor crack as a topological, graph-like, and operator-theoretic object. The basic workflow is:
- Build the 16-dimensional Cayley-Dickson algebra, the sedenions.
- Enumerate or sample unit zero divisors, the distinguished singular locus called the crack.
- Turn those events into multiplication operators and diagnostics.
- Build finite graphs or channels whose edges/transitions are defined by multiplication, annihilation, metric transport, or settlement strain.
- Check every result against validation gates before treating numerical output as evidence.
Sedenion Settlement Dynamics (SSD)
The central reusable object is Sedenion Settlement Dynamics. SSD studies the 16-dimensional Cayley-Dickson algebra, its unit zero-divisor locus, and operators built from left multiplication:
L_x: left multiplication by an algebra element.M_x = L_x.T @ L_x: the metric operator measuring norm transport.T_x = L_{x^2} - L_x^2: the alternator used to express settlement strain.
These operators are enough to express the main graph-theoretic and channel
computations. For example, a zero-divisor graph can use crack samples as
vertices and connect two vertices when a multiplication-derived test such as
rank(L_z @ L_w) or z * w == 0 detects annihilation. A settlement channel
averages the operator action L_z.T @ X @ L_z over crack events.
Package layout
The reusable TGT/SSD layer is separated from the interpretive Occurrence Theory layer, which lives outside this package.
topographo.core— one exact signed-basis specification for Cayley-Dickson multiplication, the derived NumPy structure tensor, multiplication operators, and mandatory validation gates. It does not know about Occurrence Theory, event/state language, or report formatting.topographo.ssd— the sedenion-specific wrapper (SedenionAlgebra) and small channel diagnostics used by the settlement audit, plus the exact-rational ordered-event machine (exact_machine).topographo.exceptional— the exceptional-algebra layer: the 27-dimensional Albert algebraJ3(O)and its F4/G2 structure (Peirce/Hessian analysis, determinant invariants, anisotropy). Generic exceptional-algebra math, not Occurrence-Theory-specific.
Installation
pip install topographo
Requires Python 3.11+ and NumPy.
Minimal use
import numpy as np
from topographo.core import verify_gates
from topographo.ssd import SedenionAlgebra, average_metric_operator
assert all(result.passed for result in verify_gates())
algebra = SedenionAlgebra()
events = algebra.basis_zero_divisors()
mean_metric = average_metric_operator(algebra, events)
equilibrium_error = np.linalg.norm(mean_metric - np.eye(algebra.dim))
Sketch of a TGT zero-divisor graph
import numpy as np
from topographo.ssd import SedenionAlgebra
algebra = SedenionAlgebra()
events = algebra.basis_zero_divisors()
operators = [algebra.left_operator(z) for z in events]
graph = {i: [] for i in range(len(events))}
for i, left_i in enumerate(operators):
for j, left_j in enumerate(operators):
if i == j:
continue
if np.linalg.svd(left_i @ left_j, compute_uv=False)[-1] < 1e-9:
graph[i].append(j)
For exact finite crack certificates, use SedenionAlgebra.basis_zero_divisors()
to enumerate the full 84-point design. sample_crack(n) samples from that
design with replacement and is intended for stochastic diagnostics, not
machine-zero theorem gates. These dimension-16 helpers belong to
SedenionAlgebra; generic CayleyDicksonAlgebra supplies only algebra and
operator operations.
Exact ordered-event machine
topographo.ssd.exact_machine provides immutable 16-component rational values,
exact Cayley–Dickson arithmetic, explicitly parenthesized expressions, ordered
left-multiplication traces, replay validation, and projective ray execution.
It exposes the convention pinned by programming handoff 061.11 as an explicit
coordinate presentation of the same algebra used by the NumPy backend. The map
Phi(a, b) = (conj(a), b) converts 061.11 values to core coordinates;
to_core_coordinates() and from_core_coordinates() provide the checked
boundary. Both backends derive multiplication from the single exact integer
signed-basis table in topographo.core.
from topographo.ssd import exact_machine as exact
initial = exact.basis(4)
result = exact.run(initial, [exact.basis(2), exact.basis(1)])
assert result.state == exact.mul(
exact.basis(1), exact.mul(exact.basis(2), initial)
)
Validation gates
The validation gates are deliberately conservative. They catch sign-convention or tensor-indexing errors early: they certify that the implementation uses the intended Cayley-Dickson convention rather than acting as broad theorem tests. Any independent implementation should pass composition, antisymmetry, quadratic, and Moufang checks before its numerical certificates are trusted.
Links
- Source: https://github.com/TheSwanFactory/occurrence
- API documentation: https://theswanfactory.github.io/occurrence/
License
MIT.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topographo-0.5.0.tar.gz.
File metadata
- Download URL: topographo-0.5.0.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
447405416454d31cba6e6005b4d40e43e10b858da9e4d4064f97b51c34530077
|
|
| MD5 |
0b8953468fbbf2df5daa926a7317f9ef
|
|
| BLAKE2b-256 |
6365e8c0cc57caab34dcd84bf1a8f7564f1d576917089c18c86d28472aabaf11
|
Provenance
The following attestation bundles were made for topographo-0.5.0.tar.gz:
Publisher:
topographo.yml on TheSwanFactory/occurrence
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
topographo-0.5.0.tar.gz -
Subject digest:
447405416454d31cba6e6005b4d40e43e10b858da9e4d4064f97b51c34530077 - Sigstore transparency entry: 2720754278
- Sigstore integration time:
-
Permalink:
TheSwanFactory/occurrence@7da9b870d277b0f31686f05a7b4cd829683bfdb6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/TheSwanFactory
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
topographo.yml@7da9b870d277b0f31686f05a7b4cd829683bfdb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file topographo-0.5.0-py3-none-any.whl.
File metadata
- Download URL: topographo-0.5.0-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c6aa63d0db6875eae06d9c01cf99e34cea10b7911880db8a20d3ddd7f793b5c
|
|
| MD5 |
8b6fbd1aa034700e96ef694417cf24da
|
|
| BLAKE2b-256 |
8ffc5dfb49dd5d59e3829d58053dc01375459d382b2a933c4303c8db69869ca9
|
Provenance
The following attestation bundles were made for topographo-0.5.0-py3-none-any.whl:
Publisher:
topographo.yml on TheSwanFactory/occurrence
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
topographo-0.5.0-py3-none-any.whl -
Subject digest:
0c6aa63d0db6875eae06d9c01cf99e34cea10b7911880db8a20d3ddd7f793b5c - Sigstore transparency entry: 2720755874
- Sigstore integration time:
-
Permalink:
TheSwanFactory/occurrence@7da9b870d277b0f31686f05a7b4cd829683bfdb6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/TheSwanFactory
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
topographo.yml@7da9b870d277b0f31686f05a7b4cd829683bfdb6 -
Trigger Event:
push
-
Statement type: