Documentation  ·  Abu Oracle Project  ·  June 2026

The Mathematical Formalization of Abu Oracle's Algorithms

Based on: J. G. Mascheroni — Course on Geodesy

Atilio Guillermo Alberto Siaira  ·  Abu Oracle Project  ·  2026-06-04

Illustration of an armillary sphere representing the Royal Art of Astrology.
The Royal Art of Astrology (armillary sphere).

This document makes explicit the spherical trigonometry underlying the calculation of the natal chart and house division (Placidus System), moving the model away from symbolic representation to ground it in celestial kinematics.


1. Base Coordinates

The Position Triangle

To anchor the celestial vault to the observer's local horizon, the engine solves the Position Triangle ($ZP_nE$). The vertices are:

Fundamental Sides and Angles

Spherical diagram showing elevated pole, zenith and a star forming the position triangle.
The position triangle ZP_nE anchoring the celestial vault to the local horizon.

From Gauss's equations applied to this triangle, we obtain the Zenith Distance ($\zeta$), which is vital to know the body's altitude above the horizon:

$$ \cos \zeta = \sin \varphi \sin \delta + \cos \varphi \cos \delta \cos H $$

And to locate the exact cardinal position (Azimuth $A$), fundamental for the Ascendant:

$$ \tan A = \frac{\cos \delta \sin H}{-\cos \varphi \sin \delta + \sin \varphi \cos \delta \cos H} $$
Illustration contrasting geometric structures with star constellations.
Geometry vs. Constellations.
2. Annual Kinematics

The Obliquity of the Ecliptic

The longitudinal advance of the Sun (and planets) on the ecliptic ($l$) is projected onto the celestial equator (Right Ascension, $\alpha$) undergoing a geometric deformation due to the inclination of the Earth's axis ($\epsilon \approx 23.5^\circ$).

Diagram showing the projection of ecliptic longitude onto the equator via the obliquity of the ecliptic.
Projection by obliquity $\epsilon$.

The engine calculates this projection using the following geodetic equation:

$$ \tan \alpha = \tan l \cdot \cos \epsilon $$

Note: This formula is responsible for the "short and long ascensions". It explains why signs near the equinoxes (Aries/Libra) ascend in radically different times than those near the solstices (Cancer/Capricorn), distorting the size of houses on a two-dimensional plane.

Illustration of geometric patterns corresponding to astrological aspects.
The Geometry of Aspects.
3. House Division Algorithm

Placidus System

The Placidus system, used by abu_engine, does not divide physical space, but rather the time it takes for a zodiacal degree to travel from the horizon to the meridian.

A. The Diurnal Semi-Arc Equation (The Horizon Limit)

To calculate the houses, we must first know when a zodiac degree "touches" the horizon. Mascheroni establishes that the altitude $h$ of a celestial body is $90^\circ - \zeta$. Therefore, on the horizon the altitude is zero ($h = 0$).

Substituting $0$ into the general altitude formula ($\sin h = \sin \varphi \sin \delta + \cos \varphi \cos \delta \cos H$), we deduce the fundamental equation of diurnal motion:

$$ 0 = \sin \varphi \sin \delta + \cos \varphi \cos \delta \cos H $$

By solving for the Hour Angle ($H$), we obtain the Diurnal Semi-Arc (SAD):

$$ \cos H = -\tan \varphi \cdot \tan \delta $$

B. The Trisection (Calculation of Intermediate Cusps)

The core loop of the Placidus algorithm iterates using the Diurnal Semi-Arc to find the ecliptic degrees that divide the time of ascension into three equal parts (Temporal Hours).

  1. 10th House Cusp (Midheaven): calculated directly through the Right Ascension of the meridian (local Hour Angle $H = 0^\circ$).
  2. 1st House Cusp (Ascendant): the ecliptic degree whose Azimuth $A$ exactly intersects the eastern horizon.
  3. Intermediate Cusps (11th and 12th Houses): the algorithm iterates over the ecliptic testing different degrees (with variable declination $\delta$). For each candidate degree:
    • Calculates its Diurnal Semi-Arc: $H_{candidate} = \arccos(-\tan \varphi \cdot \tan \delta_{candidate})$
    • Divides $H_{candidate}$ by $3$. This defines a Temporal Hour ($HT$).
    • The 12th House is that specific degree of the zodiac whose Right Ascension distance to the upper local meridian is exactly $\tfrac{1}{3} H_{candidate}$ (or $1\ HT$).
    • The 11th House is that degree whose distance to the meridian is exactly $\tfrac{2}{3} H_{candidate}$ (or $2\ HT$).
Illustration depicting the division of astrological houses according to the Placidus system.
The Evolution of Houses (Placidus).
4. Computational Implication

Big-O Notation

Because $\delta$ is a non-linear function of ecliptic longitude $l$, intermediate cusps cannot be isolated with a simple closed-form equation, requiring in the backend root-finding algorithms (iterative numerical methods like Newton-Raphson). This turns the Placidus house division calculation into the operation with the highest algorithmic cost within the core engine $O(K)$, compared to the constant $O(1)$ of simple spatial division house systems.

sha256: 27f81dbe57505a9c0b25119104697a9ac3a4c442a76d31e06bb42ee21a12a1c5 · ipfs: bafybeiaecndyl3byyic5auxn3ldopphqorjtiujzcdqhawrc5ggzj63y2i · ots: bitcoin-anchored
Authorship certificate · Atilio Guillermo Alberto Siaira · 2026-06-04
Illustration summarizing the architecture of time in astrology.
Final Synthesis: The Architecture of Time.