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.tar.gz (17.3 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-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: topographo-0.3.0.tar.gz
  • Upload date:
  • Size: 17.3 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.tar.gz
Algorithm Hash digest
SHA256 c175484d2fe0a6616618c412cf143e5e22756cc7061993038ada4172d554a13a
MD5 f12034b36909ca1f5112d42710065b9f
BLAKE2b-256 653c4a1239773a6a4ca7fdab6c796f91f78dcd3695f6fae1b9ea6354fb10fec7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: topographo-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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-py3-none-any.whl
Algorithm Hash digest
SHA256 0cdb67c114f3b15fc228a40e40dc2db127dbbbf9e8c8199d258c7ebf85c7b97e
MD5 3f66e15e7b36bb99a13242dd1a24ed04
BLAKE2b-256 dbfe9562a4784c7084684e628425d5afb9c7e24613ca6fb7054bcaee377135cf

See more details on using hashes here.

Provenance

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

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