galgebra (geometric algebra)

L2 Generic · Archetype: geometric-algebra · upstream · dossier

Believe it because the multivector difference simplifies to zero for an arbitrary (possibly symbolic) metric — as far as SymPy’s simplify can tell.

Trust chain

galgebra trust chain

Ontology

Multivectors over Ga with an arbitrary metric tensor and coordinates; geometric calculus operators. (What exists?)

Language

Python: o3d = Ga(‘e’, g=[1, 1, 1], coords=symbols(‘x y z’, real=True)). (How is a statement written?)

Assumptions

Clifford algebra axioms for the metric g. (What is taken as given?)

Engine

Symbolic geometric products; equality by expand + simplify. (How are new truths derived?)

Certificate

An expression. (What evidence is left behind?)

Checker

galgebra core + SymPy simplify. (What must be trusted?)

Semantics

Geometric algebra over a symbolic metric. (What model makes it sound?)

At a glance

Logic / calculus:

Algebraic identity

Exact vs numeric:

Exact symbolic

Decision procedure:

Heuristic (simplify)

Role of the diagram:

None

Degeneracy handling:

Degenerate metrics unsupported in dual

Trusted base (size):

~9.5k lines + SymPy

Trusts:

GA product engines (kingdon ~5.2k · galgebra ~9.5k lines) · SymPy simplification (core heuristics + mpmath)

A statement in its own language

o3d = Ga('e', g=[1, 1, 1], coords=symbols('x,y,z', real=True))
        

Source: README.md

Findings

  • Mv.__eq__ computes (self - A).expand().simplify() and compares with zero (mv.py:479-483).

  • .dual() fails for degenerate metrics (PGA, I² = 0); no regressive join.

References