Skip to main content

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:

  1. Build the 16-dimensional Cayley-Dickson algebra, the sedenions.
  2. Enumerate or sample unit zero divisors, the distinguished singular locus called the crack.
  3. Turn those events into multiplication operators and diagnostics.
  4. Build finite graphs or channels whose edges/transitions are defined by multiplication, annihilation, metric transport, or settlement strain.
  5. 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), small channel diagnostics, and layered exact-rational execution. Exact algebra, typed programs, raw execution, projective state, observers, and JSON codecs have separate modules; exact_machine remains as a compatibility facade. frames adds the Theory 068.02 mutual Operational-Frame machine (Native/Cyclic state, seed guard, and explicit round policies) without widening that facade.
  • topographo.exceptional — the exceptional-algebra layer: the 27-dimensional Albert algebra J3(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

The exact implementation has explicit responsibility boundaries:

  • topographo.core.exact derives exact rational arithmetic from the canonical signed-basis table.
  • topographo.ssd.exact adapts that backend to the pinned 061.11 coordinates.
  • topographo.ssd.program defines typed, fully parenthesized expressions and immutable ordered event programs.
  • topographo.ssd.machine performs repeated left action through one policy-driven transition engine; raw execution continues through zero.
  • topographo.ssd.projective identifies every nonzero rational scaling, including negative scaling, and returns Annihilated for a zero product.
  • topographo.ssd.observers derives measurements such as squared norm, while topographo.ssd.codec owns JSON encoding and exact replay validation.

topographo.ssd.exact_machine remains as a compatibility facade for the 0.4 API. Both exact and NumPy backends use the same algebraic specification. 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.

from topographo.ssd import exact, machine, program, projective

initial = exact.basis(4)
events = program.Program([exact.basis(2), exact.basis(1)])
result = machine.run(initial, events)

assert result.state == exact.mul(
    exact.basis(1), exact.mul(exact.basis(2), initial)
)
assert projective.run_projective(initial, events).state == result.state

Mutual Operational-Frame machine

topographo.ssd.frames exposes the certified Theory 068.02 local machine: OperationalFrame with Native or Cyclic retained state, Event/edge predicates, seed guard, step / advance, and explicit serial or snapshot round_step policies. Presentation wiring is an experimental input; no global selector is inferred. See experiments/mutual-frames/ for the finite census audit.

from topographo.ssd import exact
from topographo.ssd.frames import Native, OperationalFrame, round_step

a = exact.add(exact.basis(1), exact.basis(10))
b = exact.add(exact.basis(4), exact.basis(15))
pair = (OperationalFrame(Native(a)), OperationalFrame(Native(b)))
result = round_step(pair, "AB")
assert result.complete

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

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

topographo-0.7.0.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topographo-0.7.0-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

Details for the file topographo-0.7.0.tar.gz.

File metadata

  • Download URL: topographo-0.7.0.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for topographo-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0add351df9936a51b2ebdb289e6d9b69627a4adcc4352f6b01a4cade2f6148d9
MD5 c8a4fab92b741d95f8b1e659669ca8ec
BLAKE2b-256 7290d891e7b5bb8de7ae8211d057b5b518b6bd79a7214eadabea5267c67bb2bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for topographo-0.7.0.tar.gz:

Publisher: topographo.yml on TheSwanFactory/occurrence

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file topographo-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: topographo-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 44.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for topographo-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a0b7d08b5c4d9037b085ffe65d1523b6cdb8b914b7041832c0a67bbf949833f
MD5 fa0e8c17c1b1f01392e5c634f63b600b
BLAKE2b-256 ee1266e40c21db018146ce178851d2484ef0420037f1d46e845d48ebc0c91631

See more details on using hashes here.

Provenance

The following attestation bundles were made for topographo-0.7.0-py3-none-any.whl:

Publisher: topographo.yml on TheSwanFactory/occurrence

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

This release

0.7.0 This release

2 files

0.6.0

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.3.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page