Skip to main content

Thermodynamic information routing and economic gauge theory on the Pacioli manifold

Project description

econiac

Thermodynamic information routing and economic gauge theory on the Pacioli manifold.

Named after MONIAC (1949) — Bill Phillips's hydraulic computer that modelled the economy as a conserved flow system using tanks, pipes, and valves. econiac does the same with differential geometry, the Maslov-Gibbs partition function, and JAX.

"The economy is a flow network. Conservation laws are not optional."


What is econiac?

econiac is the Python implementation of the Adelic Simplicial Architecture (ASA) economic and financial frameworks:

  • Thermodynamic Information Routing (TIR) — the Gibbs distribution as a universal routing primitive across economics, game theory, neuroscience, and computation (Paper 294)
  • Economic Gauge Theory (EGT) — stock-flow consistency as a discrete gauge theory on the Pacioli manifold (Paper 300)
  • Financial Gauge Theory (FGT) — exchange rates, yield curves, and credit spreads as connections and curvature (Papers 295–299)
  • Pacioli Combinator Library (PCL) — a domain-specific language for financial computation that enforces conservation by construction (Paper 306)
  • Differentiable Agent-Based Macroeconomics (DABM) — fully differentiable macroeconomic digital twins calibratable by gradient descent (Paper 305)

Status

0.0.1 — placeholder release. Full implementation in progress.

Installation

pip install econiac

The MONIAC connection

In 1949, the New Zealand economist Bill Phillips built MONIAC: a hydraulic computer that modelled the British economy as a system of tanks, pipes, and valves, with coloured water representing money flows. Conservation was enforced physically — what flowed in had to flow out. It was a working analogue computer that correctly predicted macroeconomic dynamics.

econiac is MONIAC for the 21st century: the same conservation laws, the same flow network, but implemented with differential geometry (the Pacioli manifold), thermodynamic routing (the Maslov-Gibbs partition function), and automatic differentiation (JAX).

The Pacioli manifold

The Pacioli manifold is named after Luca Pacioli (1447–1517), the Franciscan friar who documented double-entry bookkeeping in his 1494 Summa de arithmetica — the first printed treatment of the system in Europe. The name honours the mathematical structure he documented, not its invention.

Double-entry bookkeeping was not a European invention. The practice predates Pacioli by centuries and likely arrived in Europe via multiple routes:

  • India: the Bahi-Khata system of double-entry ledger accounting, used by merchants in Rajasthan and Gujarat, dates to at least the 12th century and possibly earlier.
  • Islamic world: Abbasid-era hawala (8th–13th century) and the sophisticated accounting practices of medieval Islamic merchants documented in the Cairo Geniza records show conservation-of-value principles structurally equivalent to double-entry.
  • China: the 四柱清册 (four-column account) system used by Chinese merchants from at least the Tang dynasty (7th century) encodes the same debit-credit conservation law.
  • Transmission to Europe: Italian merchants — particularly in Venice, Genoa, and Florence — encountered these systems through the spice and silk trades. The Florentine merchant Francesco Datini's ledgers (c. 1299) predate Pacioli by nearly two centuries.

Pacioli's contribution was to recognise the mathematical structure and give it a systematic written treatment. By Stigler's Law of Eponymy (no scientific discovery is named after its original discoverer), "Pacioli manifold" is in good historical company. The conservation law ∂²=0 that defines the manifold belongs to no single culture — it is a universal consequence of the mathematics of flows.

References

License

MIT

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

econiac-0.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

econiac-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file econiac-0.0.2.tar.gz.

File metadata

  • Download URL: econiac-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for econiac-0.0.2.tar.gz
Algorithm Hash digest
SHA256 62e75e8653eeb7eed4c0b0ae5ec0ad158b09f2c20e3fb24bf033ed8d77fb6f46
MD5 d0329448b0a290187cba90cb7e3e0f62
BLAKE2b-256 4014046b8c22947c7fd6563e7d34d714dd9117476da64752a75b7ddaa97ee133

See more details on using hashes here.

File details

Details for the file econiac-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: econiac-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for econiac-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca0fe38fa8f0fb294227cb9449cb0aa82a44aa6176836f8dab26800935120a4d
MD5 8c9dc9c2a32ef8122b520eae0353b16f
BLAKE2b-256 5cb8f1ab42b4be4c455f1b7ea97e2868861f63a1119f43bee4c25ca88fc5e2e0

See more details on using hashes here.

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