EP-0243: Picard–Vessiot Differential Galois Theory, Symmetric Powers & Kovacic Factorization¶
| Field | Value |
|---|---|
| EP | 0243 |
| Title | Picard–Vessiot Differential Galois Theory, Symmetric Powers & Kovacic Factorization |
| Author | Eran Rivlis eran@rivlis.info, Antigravity |
| Sponsor | Core Maintainers |
| Delegate | ⚖️ Noether (Picard–Vessiot Torsors), 🔬 Popper (SL₂ Obstruction Certificates) & 🛡️ Golem (Dennis Point) |
| Status | Draft |
| Type | Standards Track |
| Created | 2026-11-15 |
| Updated | 2026-11-26 |
| Replaces | — |
| Superseded-By | — |
Abstract¶
This proposal introduces bounded-order Differential Galois Theory (Picard–Vessiot theory) in algebrax.differential.galois, serving as the differential-operator counterpart to classical polynomial Galois theory:
- Wronskian & Abel–Liouville Determinant Operators (
wronskian_operator,to_liouville_normal_form): Converts order-\(m\) differential Ore operators into \(\operatorname{SL}_m\) normal form via the Abel–Liouville trace identity \(W' = -\operatorname{Tr}(C_L)W\) (EP-0241differential_companion_matrixbridge). - Symmetric & Exterior Powers (
symmetric_power,exterior_power): Exact \(\mathbb{Q}(x)\) construction of minimal differential operators annihilating \(k\)-fold symmetric and alternating products of solutions (\(\operatorname{Sym}^k(L), \Lambda^k(L)\)), detecting invariant subspaces of the differential Galois group. - Order-2 Kovacic Liouvillian Classifier & Riccati Factorization (
kovacic_classify,kovacic_factorize): Reuses Yun'ssquare_free_decomposition(EP-0242) to check Kovacic admissibility (Cases 1–3), synthesize exact right-factors \(L = (\partial - \omega_2)(\partial - \omega_1)\) over \(k(x)\), or emit falsifiable \(\operatorname{SL}_2\) non-Liouvillian obstruction certificates (proving no elementary/Liouvillian closed form exists, e.g., Airy's \(y'' - xy = 0\)). - Picard–Vessiot Torsor Interface (
PicardVessiotTorsor): Bridges the differential Galois group \(\operatorname{Gal}_\partial(E/k(x)) \subseteq \operatorname{GL}_m(k)\) toCoordinateHopfAlgebraandAffineVariety(built onHopfAlgebrafromEP-0206).
Motivation¶
- Completing the Operator Factorization Story of
OreAlgebra(EP-0241):EP-0241builds higher-order operators vialclmandsymmetric_product, whileEP-0242integrates rational functions and reduces hypergeometric sums via Gosper. Differential Galois Theory provides the inverse decomposition and impossibility engine: factoring reducible linear ODEs \(L = (\partial - \omega_2)(\partial - \omega_1)\) over \(k(x)\) and proving rigorously when an ODE admits no Liouvillian solution. - Solving Apparent-Singularity Riccati ODEs Where General CAS Fall Back:
In
EXP-0011Experiment 8, on \(y'' - (x^2 + 3)y = 0\) (whose Riccati log-derivative \(\omega_1(x) = x + \frac{1}{x}\) has an apparent pole at \(x = 0\)),sympy.dsolvefell back to an \(O(x^6)\) power series andsympy.solvers.ode.riccati.solve_riccatireturned[], whereas exact Kovacic Case 1 Newton–Laurent extraction + linear solving over \(\mathbb{Q}\) recovered \(\omega_1 = \frac{x^2 + 1}{x}\) and verified \((\partial + \omega_1)(\partial - \omega_1) == \partial^2 - (x^2 + 3)\) identically. - Cross-Continent Structural Unification:
Order-2 Kovacic subgroup classification (\(\operatorname{Borel} \subset \operatorname{SL}_2\), \(D_\infty\), finite primitive groups \(A_4, S_4, A_5\), and full \(\operatorname{SL}_2\)) unifies
OreAlgebra,CoordinateHopfAlgebra(HopfAlgebrafromEP-0206),GroupRepresentation, andInvariantTheory.
Rationale¶
Validated in EXP-0011 (Experiment 8) and aligned with the Grand Council and Phase 8.5 (EP-0250–EP-0254):
- ⚖️ Emmy Noether (Picard–Vessiot Torsors & Subgroup Geometry):
A Picard–Vessiot extension \(E/k(x)\) is the differential analogue of a Galois splitting field; its differential automorphisms form an affine algebraic group \(\operatorname{Gal}_\partial(E/k(x)) \subseteq \operatorname{GL}_m(k)\) whose fundamental matrix ring \(R_{PV}\) is a torsor for
CoordinateHopfAlgebra(algebrax.variety,EP-0221, grounded inHopfAlgebrafromEP-0206). Symmetric powers \(\operatorname{Sym}^k(L)\) correspond to symmetric tensor representations (EP-0210, flat Layer-1GroupRepresentationprotocol underEP-0250), turning invariant lines of \(A_4, S_4, A_5\) (EP-0214) into rational/hyperexponential solutions of \(\operatorname{Sym}^k(L)\) (\(k \in \{2, 4, 6, 12\}\)). - ⚡ Claude Shannon (
square_free_decompositionReuse & Shared Exact Kernels): Kovacic pole-order classification requires only the multiplicities of finite poles of \(r(x) = s(x)/t(x)\), which Yun'ssquare_free_decomposition(t)(EP-0242) supplies with zero root factorization over \(\overline{\mathbb{Q}}\). Meanwhile,symmetric_power(L, k),exterior_power(L, k), and Kovacic Case 1 linear solves reuse Phase 8.5EP-0251's consolidated exactmatrix.nullspace/solve(..., field=...)kernels—staying 100% pure Python and AST-free with zero duplicated elimination loops. ExactFractionarithmetic aligns withEP-0251's widenedtyping.N. - 🔬 Karl Popper (Falsifiable Obstruction Certificates & Non-Vacuous Oracles): Negative solvability claims are falsifiable algebraic theorems:
- Every
KovacicCertificateproving \(\operatorname{Gal}_\partial = \operatorname{SL}_2\) records the exact Yun pole multiplicities,val_inf, and failed admissibility predicates for Cases 1–3. - Every positive factorization records explicit rational functions \((\omega_1, \omega_2)\) certified by exact operator multiplication \((\partial - \omega_2)(\partial - \omega_1) == L\) and cross-checked via
sympy.checkodesol, adhering to Phase 8.5EP-0253non-vacuous sample contracts. - 🛡️ The Golem (Strict Dennis-Point Boundary, Exact Field Mandate & Hygiene):
General arbitrary-order (\(n \ge 3\)) Picard–Vessiot Galois group reconstruction (Hrushovski / van der Put–Singer algorithms) and arbitrary-degree algebraic number-field splitting towers are explicitly deferred under the Dennis Point. All rational-function operations strictly require exact characteristic-0
Fields (StandardField(Fraction)), rejecting IEEE-754 floating-point coefficients. Modules obeyEP-0254hygiene (public-only cross-package imports, zeroEP-XXXXreferences insrc/).
Specification¶
1. Symmetric Powers, Wronskians & Kovacic Solver (src/algebrax/differential/galois.py)¶
from __future__ import annotations
from dataclasses import dataclass
from typing import Generic, Literal, TypeVar
from algebrax.algebra import Field
from algebrax.differential.ore import OreOp, RationalFunc, UniPoly
V = TypeVar("V")
GaloisGroupKind = Literal["reducible_borel", "dihedral_D_inf", "finite_A4_S4_A5", "SL_2_non_liouvillian"]
@dataclass(frozen=True)
class KovacicCertificate(Generic[V]):
"""Proof-carrying Differential Galois classification certificate for u'' = r(x) u."""
pole_multiplicities: tuple[tuple[int, int], ...] # (multiplicity, degree_of_Q_m)
val_at_infinity: int # deg(den) - deg(num)
case1_admissible: bool
case2_admissible: bool
case3_admissible: bool
group_kind: GaloisGroupKind
riccati_factor: RationalFunc[V] | None = None # Exact omega_1 in k(x) when Case 1 succeeds
invariant_degree: int | None = None # Minimal polynomial degree (1, 2, 4, 6, or 12)
@dataclass(frozen=True)
class PicardVessiotTorsor(Generic[V]):
"""Algebraic torsor descriptor linking an Ore operator's solution space to a CoordinateHopfAlgebra."""
operator: OreOp[RationalFunc[V]]
order: int
wronskian_log_deriv: RationalFunc[V] # -a_{m-1}(x) = -Tr(C_L)
sl_reduced: bool # True iff a_{m-1} == 0 (Gal_d <= SL_m)
galois_group_kind: str
def wronskian_operator(monic_op: OreOp[RationalFunc[V]], field: Field[V]) -> OreOp[RationalFunc[V]]:
r"""Return order-1 differential Ore operator $\partial + a_{m-1}(x)$ annihilating the Wronskian $W$."""
...
def to_liouville_normal_form(
order2_op: OreOp[RationalFunc[V]],
field: Field[V],
) -> tuple[RationalFunc[V], RationalFunc[V]]:
r"""Transform $y'' + a_1 y' + a_0 y = 0$ into $u'' = r(x) u$ via $y = u \exp(-\frac{1}{2}\int a_1 dx)$.
Returns `(r(x), gauge_log_deriv)` where `gauge_log_deriv = -a_1 / 2`.
"""
...
def symmetric_power(
monic_op: OreOp[RationalFunc[V]],
k: int,
field: Field[V],
) -> OreOp[RationalFunc[V]]:
r"""Compute minimal-order differential Ore operator $\operatorname{Sym}^k(L)$ annihilating $k$-fold solution products."""
...
def exterior_power(
monic_op: OreOp[RationalFunc[V]],
k: int,
field: Field[V],
) -> OreOp[RationalFunc[V]]:
r"""Compute minimal-order differential Ore operator $\Lambda^k(L)$ annihilating $k \times k$ Wronskian minors."""
...
def kovacic_classify(
r_func: RationalFunc[V],
field: Field[V],
) -> KovacicCertificate[V]:
r"""Evaluate Kovacic pole/infinity admissibility and classify Liouvillian solvability of $u'' = r(x) u$."""
...
def kovacic_factorize(
order2_op: OreOp[RationalFunc[V]],
field: Field[V],
) -> tuple[OreOp[RationalFunc[V]], OreOp[RationalFunc[V]], KovacicCertificate[V]] | KovacicCertificate[V]:
r"""Attempt exact order-1 factorization $L = (\partial - \omega_2)(\partial - \omega_1)$ over $k(x)$.
Returns `(left_factor, right_factor, cert)` on Case 1 reducibility, or `cert` on non-reducible / SL_2 cases.
"""
...
2. Bridges to Existing Continents¶
- Companion Matrix Bridge (
EP-0241):wronskian_operator(L)extracts \(-\operatorname{Tr}(C_L)\) directly fromdifferential_companion_matrix(L)(EP-0241), certifying when \(\operatorname{Gal}_\partial(L) \subseteq \operatorname{SL}_m\). - Hopf & Variety Bridge (
EP-0221/EP-0206):PicardVessiotTorsorexposes the defining determinant/invariant polynomial relations of the Galois torsor as generators forCoordinateHopfAlgebra(algebrax.variety,EP-0221, built onHopfAlgebrafromEP-0206) andAffineVariety(EP-0221). - Representation & Invariant Bridge (
EP-0210/EP-0214):symmetric_power(L, k)for \(k \in \{2, 4, 6, 12\}\) supplies the differential counterpart to invariant ring degrees for \(D_\infty, A_4, S_4, A_5\).
3. Verification Oracles (src/algebrax/verification/_differential.py)¶
Exported publicly via algebrax.verification (complying with Phase 8.5 EP-0253 non-vacuous sample contracts):
verify_differential_galois_laws(order2_op, field):- Operator Factorization Identity: Whenever
kovacic_factorizereturns(L_left, L_right, cert), verifiesore.mul(L_left, L_right) == monic(order2_op)identically in \(k(x)[\partial_x]\). - Symmetric Power Annihilation Law: Verifies
symmetric_power(L, k)reproduces exact known operators (\(\operatorname{Sym}^2(\partial^2 + 1) = \partial^3 + 4\partial\), \(\operatorname{Sym}^2(\partial^2 - x) = \partial^3 - 4x\partial - 2\)) and matchesSymPydifferential evaluation (0residual). - Wronskian Abel–Liouville Identity: Verifies \(\Lambda^m(L) == \text{wronskian\_operator}(L) == \partial + a_{m-1}(x)\).
- Obstruction Soundness: Verifies Airy \(y'' - xy = 0\) returns
group_kind == "SL_2_non_liouvillian"with all three Kovacic casesFalse.
Backwards Compatibility¶
100% additive and backwards compatible. Adds algebrax.differential.galois without modifying finite-field GaloisField (algebrax.algebra / algebrax.galois) or breaking any existing algebraic hierarchy or EP-0240–EP-0242 APIs.
How to Teach This / Documentation Plan¶
- User Guide: Add
docs/guide/differential/differential_galois_and_kovacic.mdexplaining the analogy "Polynomial roots : Classical Galois :: Linear ODE solutions : Picard–Vessiot & Kovacic" with concrete Airy (\(\operatorname{SL}_2\)) and Riccati apparent-singularity walkthroughs. - Recipe: Add
recipes/differential_galois_kovacic.pydemonstrating \(\operatorname{Sym}^k(L)\) invariant extraction, exact factorization of \(y'' - (x^2 + 3)y = 0\), and certifying Airy non-Liouvillianity.
Reference Implementation¶
Prototyped and verified in references/explorations/EXP-0011-differential-and-ore-algebras/sources/prototype_differential_algebra.py (Experiment 8) and captured in raw/prototype_benchmark_output.txt.
Rejected Ideas¶
- Full Arbitrary-Order (\(n \ge 3\)) Picard–Vessiot Galois Group Solver (Hrushovski / van der Put–Singer):
- Rejected: Violates the Dennis Point. Arbitrary-order Tannakian reconstruction requires deep algebraic-number-field splitting towers and Lie-algebra ideal decomposition disproportionate to AlgebraX's pure-Python scope.
- Folding Kovacic Factorization into
EP-0241(OreAlgebra): - Rejected:
EP-0241already spans skew-polynomial unification (differential,shift,difference,q_difference),gcrd/lclm, Frobenius indicial roots, and companion matrices. Differential Galois Theory depends jointly onEP-0241(Ore operators),EP-0242(square_free_decomposition),EP-0221/EP-0206(CoordinateHopfAlgebra/HopfAlgebra), andEP-0210/EP-0214(finite \(\operatorname{SL}_2\) subgroups), warranting a dedicated, cohesive EP. - Replacing
algebrax.galois(\(\operatorname{GF}(p^m)\)): - Rejected:
GaloisField(\(\operatorname{GF}(p^m)\), canonically inalgebrax.algebrawith domain facadealgebrax.galois,EP-0112) serves AES/coding theory and finite-field varieties; keeping Differential Galois Theory cleanly insidealgebrax.differential.galoisavoids breaking backwards compatibility or overloading finite-field namespaces.
Open Questions¶
- [ ] Whether
kovacic_factorizeCase 2 (dihedral \(D_\infty\), quadratic invariant) and Case 3 (finite primitive \(A_4, S_4, A_5\)) should cap algebraic extension degree or expose an optionalSymPyroot-splitting hook when polynomial invariants require irrational roots over \(\mathbb{Q}\). - [ ] Whether to extend
symmetric_powerin Phase 11 beyond order 2 to general order-\(m\) differential operators viaEP-0241'ssymmetric_producttensor recurrence.
Change Log¶
- 2026-11-15:
- Initial Draft authored for Phase 11 from
EXP-0011Experiment 8. - 2026-11-26:
- Aligned with Phase 8.5 (
EP-0250–EP-0254): correctedCoordinateHopfAlgebraattribution toEP-0221(algebrax.variety), noted canonicalGaloisFieldlocation inalgebrax.algebra, switched privatealgebra._fieldimport to publicalgebrax.algebra, documentedEP-0251exact linear-algebra kernel reuse, updated verification path tosrc/algebrax/verification/_differential.py, and notedEP-0253/EP-0254contracts.