Skip to main content

Reusable Cayley-Dickson and sedenion settlement math for Topographo.

Project description

Occurrence Theory

This repository contains a draft research paper and verification script for Occurrence Theory (OT), defined as an oriented form of Sedenion Settlement Dynamics (SSD).

The central object is the Aut-invariant settlement channel on the sedenion zero-divisor crack. The paper separates theorem, exact computation, measurement, interpretation, and conjecture using explicit ledger tags:

  • [T] theorem
  • [C] computation
  • [M] measurement
  • [I] interpretation
  • [X] conjecture

Files

  • topographo/ - reusable Python package (the library) for Cayley-Dickson algebra, validation gates, operators, SSD helpers, and the exceptional-algebra (Albert / F4 / G2) layer. Ships to PyPI with its own tests under topographo/tests/.
  • verify/ - the consumer side: all Paper verification. Holds the canonical first-party audits, the tests that guard them, and independent reviewer results. See verify/README.md for the naming convention.
  • occurrence-theory.md - main paper draft (Paper I).
  • verify/occurrence_i_audit.py - numerical audit and verification script for the Paper I algebraic claims. Every printed [C]/[G] line is a computed number checked against a threshold; the script exits nonzero if any fails.
  • verify/occurrence_i_cabarius.md - independent re-derivation of the paper's computational claims (reviewer: cabarius), and the corrections it produced.
  • occurrence_theory_prompt.md - source prompt and writing constraints used to generate the paper.
  • .github/workflows/topographo.yml - library CI: tests, builds, and releases the topographo package.
  • .github/workflows/occurrence.yml - consumer CI: installs topographo, runs the audit exit-code gate and the verify/ tests.
  • CHANGELOG.md - release history for the package and audit artifacts.
  • LICENSE - MIT license.

Requirements

The audit script requires Python 3.11 or newer and NumPy, plus the topographo package (which it imports for the verified algebra). The exceptional-algebra (Albert / F4 / G2) reproduction now lives inside the package as topographo.exceptional.

uv is the preferred runner for local audit work:

uv run python verify/occurrence_i_audit.py

For editable package installation:

uv pip install -e .

After installation, the core math layer is importable without running the Occurrence Theory audit narrative:

from topographo.core import CayleyDicksonAlgebra, verify_gates
from topographo.ssd import SedenionAlgebra

For exact finite crack certificates, use 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.

API documentation is generated with pdoc and published to GitHub Pages: https://theswanfactory.github.io/occurrence/

To build it locally:

uv run pdoc \
  topographo \
  topographo.core \
  topographo.core.algebra \
  topographo.core.cayley_dickson \
  topographo.core.gates \
  topographo.ssd \
  topographo.ssd.channel \
  topographo.ssd.sedenion \
  topographo.exceptional \
  topographo.exceptional.lab \
  -o site

Run the Audit

From the repository root:

uv run python verify/occurrence_i_audit.py

To save the output:

uv run python verify/occurrence_i_audit.py > audit_results.txt

The audit exits 0 only if every certificate meets its threshold, and 1 otherwise, so it is safe to gate CI on it. A passing run means the paper's [C]-tagged claims reproduce on this implementation. It does not mean the paper's [I] interpretations are correct; those are not tested.

CI runs two workflows on pull requests and pushes to main: topographo.yml (library: tests, build, release) and occurrence.yml (consumer: installs the package, runs this audit as an exit-code gate, and runs the verify/ tests).

Status

This is a research workspace, not a packaged library. The paper is the primary artifact; the script is included to reproduce the computation-backed claims.

License

MIT. See LICENSE.

Project details


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.3.0.dev1.tar.gz (17.4 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.3.0.dev1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file topographo-0.3.0.dev1.tar.gz.

File metadata

  • Download URL: topographo-0.3.0.dev1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for topographo-0.3.0.dev1.tar.gz
Algorithm Hash digest
SHA256 36b4a928db06e4012b9ae60355d675bd4a61986b63704454c918c500ad78346e
MD5 9db1d0e5da903e851edbc0c692fd15c1
BLAKE2b-256 bb4cfc92dc3a9e30f43d7680c9f940f0cffd0bdac57050c91cb6766856ea1fd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for topographo-0.3.0.dev1.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.3.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: topographo-0.3.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for topographo-0.3.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 c148756e786b67c651db7a046c7182967d9d4f43a669b00fe5934e66ddd0e985
MD5 3f091962907aa3b51ec9d485a54d7bf3
BLAKE2b-256 69e39ffeab5c0858ac59195d50dd59e95127b5aefe700d40ccec8221eae18a75

See more details on using hashes here.

Provenance

The following attestation bundles were made for topographo-0.3.0.dev1-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page