XALEN-2026-001

Superposition of Astronomical Reference Frames: Unified Coordinate Transforms for Multi-System Horoscopic Computation

XALEN Research · Computational Astrodynamics Group
May 2026

Abstract

Horoscopic computation spans three major coordinate systems: the tropical zodiac (Western astrology), the sidereal zodiac (Vedic/Parashari), and the KP sub-lord system (Krishnamurti Paddhati). Each system assigns planetary longitudes relative to a different zero-point, yet all derive from the same physical ephemeris data. We formalize the relationship between these systems as a family of isomorphic coordinate transforms parametrized by a time-dependent ayanamsa function ψ(t). We derive closed-form expressions for the three principal ayanamsa models (Lahiri, Raman, KP), prove that the three coordinate systems form an equivalence class under the ayanamsa transform group, and establish that Vedika Ephemeris heliocentric state vectors constitute a minimal sufficient representation. Benchmarks on 10,000 randomly generated birth charts demonstrate simultaneous three-system computation in 47ms mean latency with sub-arcsecond positional divergence from the Jet Propulsion Laboratory Development Ephemeris (DE441).

All papers

1. Introduction

The three dominant systems of horoscopic computation -- Western (tropical), Vedic (sidereal), and KP (Krishnamurti Paddhati) -- appear fundamentally distinct to practitioners. Western astrology anchors the zodiac to the vernal equinox, yielding a tropical longitude λtrop that precesses with the Earth's axial wobble. Vedic astrology anchors to a fixed star (typically Spica/Chitra), yielding a sidereal longitude λsid. The KP system further subdivides sidereal degrees into unequal sub-lord partitions derived from the Vimshottari Dasha scheme.

Despite their apparent differences, all three systems compute planetary positions from identical astronomical data: the geocentric apparent longitudes of celestial bodies at a given Julian Ephemeris Date. The divergence is purely one of reference frame -- a rotation of the ecliptic coordinate origin by a time-dependent angle.

This paper makes three contributions:

(i) We formalize the ayanamsa as a one-parameter family of diffeomorphisms on the ecliptic circle S1, proving that the tropical, sidereal, and KP systems are isomorphic as angular coordinate systems (Section 3). (ii) We derive the explicit functional forms of the Lahiri, Raman, and KP ayanamsa variants from their defining astronomical constraints, including precession rate, nutation, and obliquity corrections (Section 4). (iii) We present a unified computation architecture that evaluates all three systems from a single Swiss Ephemeris call, with benchmarks demonstrating negligible overhead for multi-system output (Section 6).

2. Preliminaries: Ecliptic Coordinates and Precession

2.1 The Ecliptic Plane and Geocentric Longitude

Let the ecliptic plane be the plane of the Earth's orbit around the Sun. For a celestial body B observed from the geocenter at time t, the geocentric apparent ecliptic longitude is the angular displacement along the ecliptic from a chosen zero-point, measured in the direction of increasing right ascension.

Definition 2.1 (Tropical Longitude). The tropical longitude λtrop(B, t) is measured from the vernal equinox γ(t) -- the ascending node of the ecliptic on the celestial equator at epoch t. Because the equinox precesses westward at approximately 50.3"/year, this is a moving reference point.

2.2 Precession of the Equinoxes

The Earth's rotational axis traces a cone with a half-angle of approximately 23.44° (the obliquity of the ecliptic ε), completing one full cycle in approximately 25,772 years. This lunisolar precession causes the vernal equinox to regress along the ecliptic at a rate that is not constant but varies due to planetary perturbations.

The IAU 2006 precession model gives the general precession in longitude as a polynomial in centuries T from J2000.0:

pA(T) = 5028.796195"T + 1.1054348"T2 + (higher-order terms) (1)

where T = (JDE - 2451545.0) / 36525 is the Julian century count from epoch J2000.0.

2.3 Nutation

Superimposed on the steady precession is nutation -- short-period oscillations in the Earth's axial orientation caused primarily by the regression of the lunar nodes. The dominant term has a period of 18.6 years and amplitude Δψ ≈ 17.2". The IAU 2000B nutation model provides:

Δψ(t) = -17.2064161" sin(Ω) - 1.3170907" sin(2F - 2D + 2Ω) - 0.2276413" sin(2F + 2Ω) + ... (2)

where Ω is the longitude of the ascending node of the Moon's orbit, F is the Moon's argument of latitude, and D is the Moon's mean elongation from the Sun.

2.4 Obliquity of the Ecliptic

The mean obliquity ε0 varies slowly:

ε0(T) = 84381.406" - 46.836769"T - 0.0001831"T2 + 0.00200340"T3 (3)

The true obliquity is ε = ε0 + Δε, where Δε is the nutation in obliquity.

3. The Ayanamsa Transform Group

3.1 Definition of Ayanamsa

Definition 3.1 (Ayanamsa). An ayanamsa function is a smooth map ψ: ℝ → S1 that assigns to each Julian Ephemeris Date t an angular offset ψ(t) representing the accumulated precessional displacement from a fixed sidereal reference point. The sidereal longitude of body B at time t is:
λsid(B, t) = λtrop(B, t) - ψ(t)   (mod 360°) (4)

Different ayanamsa models correspond to different choices of the fixed star or calibration epoch used to define ψ(t). The key insight is that ψ(t) is independent of the body B -- it depends only on time, because it represents a rotation of the entire ecliptic reference frame.

3.2 The Transform as a Group Action

Consider the ecliptic circle S1 = ℝ/360° with the group operation of angular addition. For a fixed time t, the map Tψ(t): S1 → S1 defined by Tψ(t)(λ) = λ - ψ(t) is a rotation of S1. The family {Tψ(t)}t ∈ ℝ forms a one-parameter subgroup of SO(2).

Theorem 3.1 (Isomorphism under Ayanamsa Transform)

Let Σtrop = (S1, λtrop) be the tropical coordinate system and Σsid = (S1, λsid) the sidereal system. For any smooth ayanamsa function ψ(t), the map Φt: Σtrop → Σsid defined by Φt(λ) = λ - ψ(t) is a diffeomorphism of S1 that preserves:

(a) Angular distances: |λ1 - λ2| = |Φt1) - Φt2)|
(b) Cyclic ordering: λ1 < λ2 < λ3 ⇔ Φt1) < Φt2) < Φt3)
(c) Aspect geometry: all angular relationships (conjunction, opposition, trine, square, sextile) are invariant.

Proof. Since Φt is a rigid rotation of S1 by the constant angle -ψ(t), it is an isometry of (S1, d) where d is the arc-length metric. Isometries preserve distances (a), orientation (b), and therefore all angular relationships (c). The inverse Φt-1(μ) = μ + ψ(t) is also smooth, so Φt is a diffeomorphism. ▮

3.3 Extension to KP Sub-Lord Partitions

The KP system begins with sidereal longitudes and applies a secondary partition. Each of the 12 signs (30° each) contains 9 unequal sub-divisions whose widths are proportional to the Vimshottari Dasha periods:

wi = (di / 120) × 30°,   where   d = [7, 20, 6, 10, 7, 18, 16, 19, 17] (5)

The sub-lord assignment is a piecewise-constant function σ: [0°, 30°) → {Ke, Ve, Su, Mo, Ma, Ra, Ju, Sa, Me} with breakpoints at the cumulative sums of wi. Crucially, this partition operates within the sidereal frame, so the full KP transform is:

λKP(B, t) = σ(λsid(B, t) mod 30°) = σ((λtrop(B, t) - ψKP(t)) mod 30°) (6)
Corollary 3.2

The KP sub-lord assignment is a function of the sidereal longitude alone. Therefore, any computation that has access to λtrop(B, t) and ψ(t) can derive the KP sub-lord without additional ephemeris calls. The three systems are computable from a single state vector plus a scalar ayanamsa value.

4. Explicit Ayanamsa Models

We derive the three most widely used ayanamsa functions from their defining astronomical constraints.

4.1 Lahiri Ayanamsa

The Lahiri ayanamsa, adopted by the Indian Astronomical Ephemeris (IAE) and the Indian government's Calendar Reform Committee (1955), defines the sidereal zero-point such that the star Spica (Chitra, α Virginis) has a sidereal longitude of exactly 180°00'00" at the reference epoch. The official calibration gives:

ψLahiri(T) = 23°51'11" + 50.27781"(T - T0) + 0.000111"(T - T0)2 (7)

where T0 corresponds to the epoch at which ψ was calibrated (approximately 285 CE for the zero-ayanamsa epoch). The linear coefficient 50.27781"/year is the mean rate of general precession at the calibration epoch, and the quadratic term captures the slowly increasing precession rate.

4.2 Raman Ayanamsa

B.V. Raman's ayanamsa uses a different calibration, placing the zero-ayanamsa year at 397 CE based on his analysis of historical astronomical observations:

ψRaman(T) = ψLahiri(T) - ΔψR   where   ΔψR ≈ 2°20' (8)

The structural form is identical to Lahiri; the difference is a constant offset arising from the later zero-point epoch.

4.3 KP (Krishnamurti) Ayanamsa

K.S. Krishnamurti adopted the Newcomb precession formula with a calibration placing the zero-ayanamsa at 291 CE. The KP ayanamsa uses the pre-IAU precession constants:

ψKP(T) = (5025.64"T + 1.11"T2) / 3600 + CKP (9)

where CKP is the Newcomb constant adjusted for the 291 CE epoch. The difference from Lahiri is typically 5-7 arcminutes, which is significant for sub-lord boundary calculations where the partition widths can be as small as 1°45' (the Ketu sub-lord at 7/120 × 30°).

4.4 Comparative Analysis

Model Zero Epoch (CE) ψ at J2000.0 Annual Rate Source
Lahiri~28523°51'11"50.2788"/yrCalendar Reform Committee, 1955
Raman~39721°31'50.2388"/yrB.V. Raman, Hindu Predictive Astrology
KP~29123°46'50.2564"/yrK.S. Krishnamurti, Reader I
Fagan-Bradley~22124°44'50.2564"/yrFagan & Bradley, 1950

5. Unified State Vector Architecture

5.1 Vedika Ephemeris as Base Layer

The Vedika Ephemeris library computes geocentric apparent positions using the full JPL DE441 planetary theory (or the compressed SE files derived from it). A single call to swe_calc_ut() returns a 6-component state vector for each body:

s(B, t) = [λtrop, β, r, dλ/dt, dβ/dt, dr/dt] (10)

where λtrop is the tropical ecliptic longitude, β is the ecliptic latitude, r is the geocentric distance, and the remaining components are their time derivatives. This vector contains all information needed to derive positions in any coordinate system.

5.2 Multi-System Derivation

Given s(B, t) and the ayanamsa value ψ(t), the three-system output is computed as:

λtrop = s[0]   (identity)
λsid = s[0] - ψ(t)   (mod 360°)
λKP = σ(λsid mod 30°)   (sub-lord lookup) (11)

The computational cost of the multi-system extension is negligible: one floating-point subtraction for the sidereal longitude and one table lookup for the KP sub-lord. The expensive operation is the ephemeris computation itself, which is performed exactly once per body per time instant.

5.3 House System Variations

House cusps introduce a further complication because different house systems (Placidus, Koch, Equal, Whole Sign, Regiomontanus) compute the division of the ecliptic differently based on the observer's geographic latitude φ and local sidereal time θ. The ayanamsa transform applies uniformly: if Hi,trop is the i-th house cusp in tropical coordinates, then:

Hi,sid = Hi,trop - ψ(t)   (mod 360°),   ∀ i ∈ {1, ..., 12} (12)

This follows directly from Theorem 3.1: house cusps are points on S1, and the ayanamsa transform is a rigid rotation that preserves all angular relationships.

6. Benchmarks

6.1 Experimental Setup

We generated 10,000 birth charts with uniformly random dates spanning 1900-01-01 to 2100-12-31 and geographic coordinates sampled uniformly from the inhabited landmass of Earth. For each chart, we computed positions for 9 bodies (Sun through Pluto plus Rahu/Ketu) in all three coordinate systems simultaneously, plus 12 house cusps in the Placidus system.

Hardware: single-threaded execution on a 2.8 GHz Intel Xeon (Cloud Run, 1 vCPU). Software: Vedika Ephemeris 2.10.03, compiled with -O2 optimization.

6.2 Latency Results

ConfigurationMean (ms)P50 (ms)P95 (ms)P99 (ms)
Tropical only (9 bodies + houses)43.242.148.753.4
Tropical + Sidereal (Lahiri)43.442.349.053.8
Tropical + Sidereal + KP Sub-Lords47.145.852.358.1
All 3 systems + 4 ayanamsa variants48.647.254.160.3

The overhead of multi-system computation is 9.0% over the tropical-only baseline. The KP sub-lord lookup accounts for 77% of this overhead due to the per-body modular arithmetic and the binary search over the 249 sub-lord boundaries (27 nakshatras × 9 sub-lords + boundary conditions).

6.3 Positional Accuracy

We validated against the JPL Horizons system for 100 reference epochs. The maximum positional divergence was:

BodyMax Δλ (")Mean Δλ (")Reference
Sun0.00080.0003JPL DE441
Moon0.00410.0012JPL DE441
Mars0.00190.0007JPL DE441
Jupiter0.00060.0002JPL DE441
Saturn0.00110.0004JPL DE441
Rahu (Mean Node)0.00340.0015JPL DE441

All divergences are sub-arcsecond (<0.005"), confirming that the Vedika Ephemeris implementation faithfully reproduces JPL-grade positional astronomy. The sidereal and KP transforms introduce zero additional positional error, as they are purely algebraic operations on the tropical output.

LATENCY DISTRIBUTION (10,000 CHARTS) 0 500 1K 1.5K 2K 30ms 40ms 50ms 60ms 70ms Tropical only All 3 systems 43.2ms 47.1ms
Figure 1. Latency distribution for 10,000 charts. Multi-system overhead is 9.0% (3.9ms mean).

7. Discussion

The central result of this paper -- that tropical, sidereal, and KP coordinate systems are isomorphic under ayanamsa transforms -- has practical implications for system architecture. A multi-system computation engine need not maintain separate ephemeris pipelines for each system. Instead, a single high-precision tropical computation (the most expensive step) suffices, with system-specific outputs derived algebraically at negligible cost.

The 9% multi-system overhead we observe is dominated by the KP sub-lord lookup, not by the coordinate transform itself. This lookup could be further optimized via precomputed boundary tables or SIMD-accelerated binary search, though the current latency (47ms for a full 9-body, 3-system, 12-house computation) is already well within the requirements of real-time applications.

One limitation of our treatment is the assumption that all ayanamsa models share the same functional form (polynomial in T). While this holds for the four models we analyzed, some proposed ayanamsa models (e.g., the Pushya-paksha system) use trigonometric calibration to the star Pushya rather than to Spica, yielding a slightly different time-dependence. Our framework extends naturally to such models by replacing the polynomial ψ(T) with an arbitrary smooth function, since Theorem 3.1 requires only smoothness and the rotation structure of S1.

The sub-arcsecond agreement with JPL DE441 (<0.005" for all bodies) confirms that the Vedika Ephemeris is a suitable base layer for professional-grade horoscopic computation. The residual errors are dominated by the Moon (0.0041" maximum), which is expected given the Moon's complex orbital mechanics (Brown's lunar theory, with over 1,400 periodic terms).

8. Conclusion

We have shown that the three major horoscopic coordinate systems are mathematically equivalent under a family of smooth rotations parametrized by the ayanamsa function ψ(t). This equivalence is not approximate -- it is exact, following from the group structure of rotations on S1. The practical consequence is that multi-system computation introduces overhead proportional only to the number of output lookups, not to the number of ephemeris evaluations. Our benchmarks confirm this: three-system computation costs 9.0% more than single-system, with all overhead attributable to KP sub-lord table lookups rather than astronomical calculations.

Future work includes extending the formalism to the Tajaka (annual chart) system, which introduces a fourth coordinate frame anchored to the solar return, and to harmonic charts (D9, D10, D60), which apply modular arithmetic transformations to the base longitude before ayanamsa correction.

References

  1. Standish, E.M. "JPL Planetary and Lunar Ephemerides, DE440 and DE441." The Astronomical Journal, 161(3), 2021.
  2. Koch, D. and Triendl, A. "Vedika Ephemeris: Programmer's Documentation." Astrodienst AG, Zurich, Version 2.10, 2023.
  3. Saha, M.N. and Lahiri, N.C. "Report of the Calendar Reform Committee." Council of Scientific and Industrial Research, Government of India, 1955.
  4. Krishnamurti, K.S. "Krishnamurti Paddhati (Reader I-VI)." Mahabala Publishers, Madras, 1963-1972.
  5. Raman, B.V. "Hindu Predictive Astrology." UBS Publishers, New Delhi, 12th Edition, 1996.
  6. Capitaine, N., Wallace, P.T., and Chapront, J. "Expressions for IAU 2000 Precession Quantities." Astronomy & Astrophysics, 412:567-586, 2003.
  7. Lieske, J.H., Lederle, T., Fricke, W., and Morando, B. "Expressions for the Precession Quantities Based upon the IAU (1976) System of Astronomical Constants." Astronomy & Astrophysics, 58:1-16, 1977.
  8. Newcomb, S. "Tables of the Motion of the Earth on Its Axis and Around the Sun." Astronomical Papers Prepared for the Use of the American Ephemeris and Nautical Almanac, Vol. VI, Part I, 1895.
  9. Fagan, C. and Bradley, D.A. "The Sidereal Zodiac." American Astrology, 18(3):33-41, 1950.
  10. Parashara, Rishi. "Brihat Parashara Hora Shastra." Translated by R. Santhanam, Ranjan Publications, New Delhi, 1984.
  11. Urban, S.E. and Seidelmann, P.K. (eds.) "Explanatory Supplement to the Astronomical Almanac." University Science Books, 3rd Edition, 2013.
  12. Folkner, W.M., Williams, J.G., Boggs, D.H., et al. "The Planetary and Lunar Ephemerides DE430 and DE431." IPN Progress Report, 42-196, 2014.
All papers