kingdon (geometric algebra)

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

Believe it because the identity expands to zero in the Clifford algebra — universally, when computed symbolically without division.

Trust chain

kingdon trust chain

Ontology

Multivectors of Cl(p, q, r): points, lines, circles as blades (PGA / CGA). (What exists?)

Language

Python operators: alg = Algebra(3, 0, 1); b.cp(v); a ^ b; C >> P. (How is a statement written?)

Assumptions

Clifford algebra axioms with a diagonal metric signature. (What is taken as given?)

Engine

Code-generated geometric products over symbolic or numeric coefficients. (How are new truths derived?)

Certificate

An expression (zero or not). (What evidence is left behind?)

Checker

kingdon codegen + SymPy simplify. (What must be trusted?)

Semantics

PGA / CGA models of the Euclidean plane or space. (What model makes it sound?)

At a glance

Logic / calculus:

Algebraic identity

Exact vs numeric:

Exact symbolic or float

Decision procedure:

Polynomial expansion (no division)

Role of the diagram:

None

Degeneracy handling:

Appears as zero / ideal elements

Trusted base (size):

~5.2k lines + SymPy

Trusts:

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

A statement in its own language

alg = Algebra(3, 0, 1)
        b = alg.bivector(name='b'); v = alg.vector(name='v')
        b.cp(v)
        

Source: README.rst

Findings

  • Generated product code over exact RationalPolynomial; default coefficient simplifier is sympy.simplify(sympy.expand(v)).

  • 2D CGA: circle power is -2*(kappa | P), circumcenter C * ni * ~C, inversion C >> P.

References