Algebroids¶
An algebroid \((E,\rho,[\cdot,\cdot]_E)\) is a vector bundle with an anchor \(\rho:E\to TM\) and a bracket on sections. In JacoPy the axioms an algebroid satisfies are chosen explicitly: nothing beyond the definitions holds unless it is declared. This page shows how to declare axioms, how to write the structure maps, the algebroid calculus \(d_E\), \(\mathcal L^E\), \(\iota^E\), the Jacobiator, Derivator and Predator, the locality operator, and the reduction to \(E=TM\).
Setup¶
import jacopy
from jacopy.central.algebroid import (algebroid, tangent_algebroid, section_map,
locality_projector, DECLARATIONS, LEVELS)
reg = jacopy.PropertyRegistry()
f, h = jacopy.functions("f h", registry=reg)
X, Y = jacopy.vector_fields("X Y")
E = algebroid("E", declare=("leibniz",))
u, v, w = E.sections("u v w")
(mu,) = jacopy.forms("mu", degree=1, bundle=E.bundle)
A = algebroid("A")
a1, a2, a3 = A.sections("u v w")
C = algebroid("C", declare=("courant",))
c1, c2, c3 = C.sections("u v w")
R = algebroid("R", declare=("local", "regular"))
r1, r2 = R.sections("u v")
(muR,) = jacopy.forms("mu", degree=1, bundle=R.bundle)
Pr = locality_projector(R)
Phi = section_map("Phi", A.bundle, A.bundle)
psi = section_map("psi", A.bundle, jacopy.TM)
TMa = tangent_algebroid()
from jacopy.central.algebroid import (d_E, lie_E, jacobiator, derivator, predator,
anchor_predator, locality_term, LocalityOperator, algebroid_engine)
from jacopy.central.algebroid.calculus import evaluate, algebroid_calculus
Declaring axioms¶
algebroid("E", declare=(...)) takes a subset of axiom names. Declared axioms enter the
engine as axioms and are reported as such in every proof that uses them. The individual
axioms (DECLARATIONS) are:
print(DECLARATIONS)
('right-leibniz', 'left-leibniz', 'anchor-morphism', 'jacobi', 'antisymmetric', 'symmetric-part', 'metric-invariance', 'regular', 'bourbaki-invariance', 'courant-invariance', 'exact')
Level names (LEVELS) switch on several axioms at once. Axioms that can be derived from the
others are deliberately left out of the levels; they are provided as theorems instead.
Level |
Axioms it switches on |
|---|---|
|
right-leibniz |
|
right-leibniz, left-leibniz |
|
right-leibniz, anchor-morphism |
|
right-leibniz, jacobi |
|
right-leibniz, antisymmetric, jacobi |
|
right-leibniz, symmetric-part |
|
symmetric-part, metric-invariance |
|
symmetric-part, metric-invariance, anchor-morphism |
|
symmetric-part, metric-invariance, jacobi |
Structure maps¶
Mathematics |
In code |
Arguments |
Result |
LaTeX |
Note |
|---|---|---|---|---|---|
\(\rho(u)\) |
|
u: section of E |
vector field |
|
|
\(u(f)=\rho(u)(f)\) |
|
u; f |
function |
|
|
\([u,v]_E\) |
|
u, v: sections of E |
section of E |
|
Sections do not act on functions directly |
\(Df=\rho^*df\) |
|
f |
\(E\)-1-form |
|
|
\(\langle Df,u\rangle=\rho(u)f\) |
|
function |
|
The engine reduces it to \(\rho(u)(f)\) |
|
\([u,fv]_E=\rho(u)(f)v+f[u,v]_E\) |
|
section of E |
|
Expanded under the |
|
\(g_C(u,v)\) |
|
algebroid with fibre metric; sections |
function |
|
Symmetric and non-degenerate by definition |
\(g^{-1}(Df)\) |
|
\(E\)-1-form |
section of E |
|
|
declaration query |
|
axiom name |
bool |
|
|
adding a declaration |
|
axiom names |
a new algebroid |
The original algebroid is unchanged |
Calculus: \(d_E\), \(\mathcal L^E\), \(\iota^E\)¶
Mathematics |
In code |
Arguments |
Result |
LaTeX |
Note |
|---|---|---|---|---|---|
\(d_E\mu\) |
|
algebroid; \(E\)-form |
\(E\)-form of degree \(+1\) |
|
Palais formula under evaluation |
\((d_E\mu)(u,v)\) |
|
head; sections |
function |
|
Same as |
\(\mathcal L^E_u\) |
|
algebroid; section |
operator |
|
|
\(\mathcal L^E_uv=[u,v]_E\) |
|
section of E |
|
||
\(\iota_u\mu\) |
|
section of E; \(E\)-form |
\(E\)-form of degree \(-1\) |
|
The same |
calculus object |
|
algebroid |
|
Provides |
Jacobiator, Derivator, Predator¶
Mathematics |
In code |
Arguments |
Result |
LaTeX |
Note |
|---|---|---|---|---|---|
\(J^E(u,v,w)\) |
|
algebroid; three sections |
section of E |
|
On \(E\) (declared |
\(D^E_\Phi(u,v)\) |
|
algebroid; \(\Phi:E\to E\); two sections |
section of E |
|
Build \(\Phi\) first with |
\(P^E_\psi(u,v)\) |
|
algebroid; \(\psi:E\to TM\); two sections |
vector field |
|
|
\(P^E_\rho(u,v)\) |
|
algebroid; two sections |
vector field |
|
\(P_\rho\equiv0\) if and only if the anchor is a morphism |
\(\Phi(u)\) |
|
map; section |
section |
|
section_map("Phi", source, target) takes bundles (A.bundle, jacopy.TM), not
algebroids.
Locality¶
Mathematics |
In code |
Arguments |
Result |
LaTeX |
Note |
|---|---|---|---|---|---|
\(L(Df,u,v)\) |
|
algebroid; f; u, v |
section of E |
|
The correction term of the left Leibniz rule |
\(L(\mu,u,v)\) (general form) |
|
algebroid name (str); form; u, v |
section of E |
|
Takes the name string, not the algebroid object |
\(\mathcal P(L(Df,u,v))\) |
|
projector; section |
section of E |
|
The engine with the projector reduces it to \(L(Df,u,v)\) |
\(\rho(\mathcal P L(\mu,u,v))=0\) |
|
vector field |
|
Kernel rule of the projector |
Reduction to \(TM\)¶
Mathematics |
In code |
Arguments |
Result |
LaTeX |
Note |
|---|---|---|---|---|---|
\(\rho=\mathrm{id}\) |
|
section of \(TM\) |
the same X |
|
Returns |
\([\cdot,\cdot]_{TM}\) is the Lie bracket |
|
vector field |
|
||
\(D=d\) |
|
f |
1-form (\(=df\)) |
|
|
\(d_{TM}=d\) |
|
1-form |
|
|
Checking the entries with the engine¶
algebroid_engine(E, registry=reg) loads the definitions of \(E\) together with its declared
axioms; projectors=(Pr,) adds the rules of a locality projector.
engE = algebroid_engine(E, registry=reg)
engA = algebroid_engine(A, registry=reg)
engR = algebroid_engine(R, registry=reg, projectors=(Pr,))
checks = [
(engE, jacopy.pairing(E.D(f), u), E.act(u, f)),
(engE, E.bracket(u, f*v), E.act(u, f)*v + f*E.bracket(u, v)),
(engE, lie_E(E, u)(v), E.bracket(u, v)),
(engE, jacobiator(E, u, v, w), jacopy.Zero),
(engR, Pr(locality_term(R, f, r1, r2)), locality_term(R, f, r1, r2)),
(engR, R.anchor(Pr(LocalityOperator("R", muR, r1, r2))), jacopy.Zero),
]
for eng, lhs, rhs in checks:
chain = jacopy.show_equal(lhs, rhs, registry=reg, engine=eng)
print(jacopy.to_ascii(lhs), "closes in", len(chain.steps), "steps")
print(jacopy.to_ascii(engA.expand(jacobiator(A, a1, a2, a3))[0]))
⟨Df, u⟩ closes in 2 steps
[u,(f * v)]_E closes in 2 steps
L^E_u(v) closes in 2 steps
J_E(u,v,w) closes in 2 steps
P(L(Df,u,v)) closes in 2 steps
ρ(P(L(mu,u,v))) closes in 2 steps
[u,[v,w]_A]_A - [[u,v]_A,w]_A - [v,[u,w]_A]_A