Metric-affine geometry¶
The package jacopy.packages.metric_affine covers metric-affine geometry on the tangent
bundle (connections, torsion \(T\), curvature \(R\), non-metricity \(Q\), the Levi-Civita and
Koszul formulas, the Bianchi identities and frame components: Cartan structure equations,
Ricci, Einstein) and on algebroids (\(E\)-connections, the locality-corrected torsion
\({}^{L}T\), the projected curvature \({}^{L}\hat R\), admissible connections, the derived
algebroid \(E^\nabla\) and the \(E\)-Koszul, \(E\)-Bianchi and \(E\)-Cartan equations).
The package is imported as MA; on this page the name g is the metric, so the
functions are called f and h.
Setup¶
import jacopy
import jacopy.packages.metric_affine as MA
from jacopy.central.objects import Bundle
from jacopy.central.objects.frame import Frame
from jacopy.central.algebroid import algebroid, locality_projector
reg = jacopy.PropertyRegistry()
f, h = jacopy.functions("f h", registry=reg)
X, Y, Z = jacopy.vector_fields("X Y Z")
alpha, = jacopy.forms("alpha", degree=1)
# on TM
nabla = jacopy.connection() # nabla (a second connection: jacopy.connection("D"))
D = jacopy.connection("D")
g = MA.metric("g") # the package's metric context; g(X, Y) is a MetricValue
fr = jacopy.frame("e") # frame e_a = fr.field("a"), coframe e^a = fr.dual().field("a")
(W,) = jacopy.vector_fields("W")
eng = MA.metric_affine_engine(registry=reg) # definitional rules
eng_lc = MA.metric_affine_engine(registry=reg,
compatible=[(nabla, g)], # declaration: nabla g = 0
torsion_free=[nabla]) # declaration: T(nabla) = 0
eng_dec = MA.metric_affine_engine(registry=reg,
decompositions=[(nabla, fr)]) # declaration: frame completeness
# on an algebroid E
E = algebroid("E", Bundle("E"), declare=("local", "regular"))
u, v, w = E.sections("u v w")
nE = MA.e_connection(E) # E-connection (for E = TM the ordinary connection)
frE = Frame("e", bundle=E.bundle) # frame on E
P = locality_projector(E) # locality projector
engE = MA.e_connection_engine(E, registry=reg, projectors=(P,))
Dn = MA.derived_algebroid(E) # derived algebroid E^nabla
Dh = MA.derived_algebroid(E, projected=True) # projected version
MA.metric("g")and the top-leveljacopy.metric()are different objects: the first is the package’s metric context (symmetry, bilinearity and the \(Q\) rules are attached to it), the second is the core metric symbol.MA.as_metric_context(jacopy.metric("g"))converts the second into the first.An engine expands an expression:
eng.expand(e)[0]applies the definitions in one pass;jacopy.normalize(eng, e, reg).exprsimplifies to normal form.Some \(E\)-theorems need further algebroid declarations:
declare=("local", "regular", "anchor-morphism")(derived calculus, \(\hat d^2\)) ordeclare=("local", "pre-leibniz", "regular")(the last slot of the curvature).
Declarations¶
No axiom is assumed silently. A declaration is made through an argument of the engine
builder or by registering the declaration object with the engine (engine.register(...)).
Declaration |
Axiom |
How it is declared |
|---|---|---|
metric compatibility ( |
\(\nabla g=0\), i.e. \(X\,g(Y,Z)=g(\nabla_XY,Z)+g(Y,\nabla_XZ)\) |
|
torsion-freeness ( |
\(T(\nabla)=0\), i.e. \([X,Y]=\nabla_XY-\nabla_YX\) |
|
frame completeness |
\(\nabla_{e_b}e_c=\sum_s\Gamma^s_{bc}e_s\), \([e_a,e_b]=\sum_s\gamma^s_{ab}e_s\) |
|
|
\([u,v]+[v,u]=\sum_sL(e^s,\nabla_{e_s}u,v)+\sum_sL(e^s,\nabla_{e_s}v,u)\) |
|
|
\({}^{L}T(\nabla)=0\), solved for the bracket: \([u,v]_E=\nabla_uv-\nabla_vu+\sum_sL(e^s,\nabla_{e_s}u,v)\) |
|
|
\(\nabla\) is E-Koszul: every \(g(\nabla_uv,w)\) wrapped in the metric is solved by the modified Koszul formula |
|
With eng_lc (torsion-free and metric-compatible declared) torsion and non-metricity
normalize to zero:
print(jacopy.normalize(eng_lc, MA.torsion(nabla, X, Y), reg).expr)
print(jacopy.normalize(eng_lc, MA.nonmetricity(nabla, g, X, Y, Z), reg).expr)
0
0
Metric and connection¶
Math |
In code |
Arguments |
Result |
Note |
|---|---|---|---|---|
\(g(X,Y)\) |
|
X, Y: vector field |
|
The engine puts it into symmetric order: |
\(g(fX,Y)=f\,g(X,Y)\) |
|
f: function |
\(f \, g(X, Y)\) |
|
\(g^{ab}\) |
|
g: |
|
The index order is canonicalized (symmetry); by name: |
converting to a metric context |
|
the core \(g\) atom |
|
Bridge between the top-level |
\(\nabla_XY\) |
|
nabla: connection; X, Y: vector field |
\(\nabla_{X}(Y)\) |
Both notations give the same node |
\(\nabla_{fX+Y}Z=f\nabla_XZ+\nabla_YZ\) |
|
\(f \, \nabla_{X}(Z) + \nabla_{Y}(Z)\) |
|
|
\(\nabla_X(fY)=X(f)Y+f\nabla_XY\) |
|
\(X(f) \, Y + f \, \nabla_{X}(Y)\) |
|
Torsion, curvature, non-metricity¶
Math |
In code |
Arguments |
Result |
Note |
|---|---|---|---|---|
\(T(X,Y)\) |
|
nabla: connection; X, Y: vector field |
|
Closed node; use the engine to expand it |
\(T(X,Y)=\nabla_XY-\nabla_YX-[X,Y]\) |
|
\(\nabla_{X}(Y) - \nabla_{Y}(X) - [X, Y]\) |
|
|
\(R(X,Y)Z\) |
|
X, Y, Z: vector field |
|
|
\(R(X,Y)Z=\nabla_X\nabla_YZ-\nabla_Y\nabla_XZ-\nabla_{[X,Y]}Z\) |
|
\(\nabla_{X}(\nabla_{Y}(Z)) - \nabla_{Y}(\nabla_{X}(Z)) - \nabla_{[X, Y]}(Z)\) |
|
|
\(Q(X,Y,Z)\) |
|
g: |
|
|
\(Q(X,Y,Z)=Xg(Y,Z)-g(\nabla_XY,Z)-g(Y,\nabla_XZ)\) |
|
\(X(g(Y, Z)) - g(Z, \nabla_{X}(Y)) - g(Y, \nabla_{X}(Z))\) |
|
|
\((\nabla_XT)(Y,Z)\) |
|
\(\nabla_{X}(T(Y, Z)) - T(\nabla_{X}(Y), Z) - T(Y, \nabla_{X}(Z))\) |
Returns the explicit form |
|
\((\nabla_XR)(Y,Z)W\) |
|
W: vector field |
\(\nabla_{X}(R(Y, Z)W) - R(\nabla_{X}(Y), Z)W - \dots - R(Y, Z)\nabla_{X}(W)\) |
|
\(\sum\pm\nabla_{[\cdot,[\cdot,\cdot]]}W=0\) (Jacobi in the direction slot) |
|
f: function |
|
the instance theorems used by Bianchi II |
Frame components: \(\Gamma\), connection forms, Ricci, Einstein¶
Math |
In code |
Arguments |
Result |
Note |
|---|---|---|---|---|
\(\Gamma^a_{bc}=\langle e^a,\nabla_{e_b}e_c\rangle\) |
|
fr: frame; indices: str |
|
No index symmetry |
\(\langle e^a,\nabla_{e_b}e_c\rangle\to\Gamma^a_{bc}\) |
|
\(\Gamma^{a}_{bc}\) |
|
|
\(\nabla_{e_b}e_c=\sum_s\Gamma^s_{bc}e_s\) |
|
\(\sum_{s \in e} \Gamma^{s}_{bc} \, e_{s}\) |
Only with the |
|
\(\omega^a{}_b\) |
|
|
\(\langle\omega^a{}_b,X\rangle\to\langle e^a,\nabla_Xe_b\rangle\): once |
|
component formula for \(R^a{}_{bcd}\) |
|
|
\(e_{c}(\Gamma^{a}_{db}) - e_{d}(\Gamma^{a}_{cb}) + \sum_s \Gamma^{a}_{cs}\Gamma^{s}_{db} - \sum_s \Gamma^{a}_{ds}\Gamma^{s}_{cb} - \sum_s \Gamma^{a}_{sb}\gamma^{s}_{cd}\) |
Returns the expression directly |
\(Ric_{bd}=\sum_s\langle e^s,R(e_s,e_b)e_d\rangle\) |
|
\(\sum_{s \in e} \langle e^{s}, R(e_{s}, e_{b})e_{d} \rangle\) |
||
\(R=\sum_{s,t}g^{st}Ric_{st}\) |
|
|
\(\sum_s\sum_t g^{st}\,(\sum_u \langle e^{u}, R(e_{u}, e_{s})e_{t} \rangle)\) |
|
\(G_{bd}=Ric_{bd}-\tfrac12R\,g_{bd}\) |
|
\((\sum_s\langle e^{s}, R(e_{s}, e_{b})e_{d}\rangle) - \frac{1}{2}(\dots)\,g(e_{b}, e_{d})\) |
Trace identities (dimension \(n\)) are out of scope |
|
\(Q_{ab}\), \(Q_{ab}(v)=Q(v,e_a,e_b)\) |
|
|
Evaluation: once |
|
component formula for \(Q_{ab}(e_c)\) |
|
\(e_{c}(g(e_{a}, e_{b})) - \sum_s \Gamma^{s}_{ca}\, g(e_{s}, e_{b}) - \sum_s \Gamma^{s}_{cb}\, g(e_{a}, e_{s})\) |
Computing with concrete components¶
You can supply concrete components (\(\Gamma^a_{bc}\), \(g_{ab}\), \(\gamma^c_{ab}\), \(\theta^{ab}\)) in a finite-dimensional frame and evaluate the package’s symbolic component expressions on them.
data = MA.ComponentInput(fr, dim=2, connection=nabla, total=True, holonomic=True)
data.set_gamma("0", "0", "1", f) # Gamma^0_01 = f; total=True: every other component is 0
data2 = MA.ComponentInput(fr, dim=2, connection=nabla, metric=g, total=True, holonomic=True)
data2.set_metric("0", "0", 1); data2.set_metric("1", "1", h) # g_00 = 1, g_11 = h
print(jacopy.to_latex(data.evaluate(MA.curvature_component_formula(nabla, fr, "0", "1", "0", "1"), registry=reg)))
-e_{1}\!\left(f\right)
Math |
In code |
Arguments |
Result |
Note |
|---|---|---|---|---|
\(R^0{}_{101}\) when \(\Gamma^0_{01}=f\) |
|
expression, registry |
\(-e_{1}(f)\) |
|
\(Ric_{11}\) with the same data |
|
|
\(-e_{1}(f)\) |
With the default engine the \(R\) node stays unexpanded; the |
\(g_{11}\) |
|
key: index pair |
\(h\) |
|
\(g(e_1,e_1)\) |
|
\(h\) |
Other inputs: set_anholonomy(c, a, b, value) (\(\gamma^c_{ab}\); antisymmetry is
automatic) and set_pi(a, b, value) (\(\theta^{ab}\)). With total=False (the default),
components that are not given stay symbolic.
\(E\)-connections, modified torsion and projected curvature¶
Math |
In code |
Arguments |
Result |
Note |
|---|---|---|---|---|
\(\nabla_uv\) |
|
u, v: E-section |
\(\nabla_{u}(v)\) |
|
\(\nabla_uf=\rho(u)(f)\) |
|
f: function |
\(\rho(u)(f)\) |
|
\(T^{(0)}(u,v)=\nabla_uv-\nabla_vu-[u,v]_E\) |
|
\(\nabla_{u}(v) - \nabla_{v}(u) - [u, v]_{E}\) |
|
|
\(R^{(0)}(u,v)w\) |
|
\(\nabla_{u}(\nabla_{v}(w)) - \nabla_{v}(\nabla_{u}(w)) - \nabla_{[u, v]_{E}}(w)\) |
|
|
\(Q(u,v,w)\) (E) |
|
E: algebroid |
\(\rho(u)(g_{E}(v, w)) - g_{E}(\nabla_{u}(v), w) - g_{E}(v, \nabla_{u}(w))\) |
Returns the explicit expression |
\({}^{L}T(u,v)\) |
|
frE: E-frame; |
\(T(u, v) + \sum_{s \in e} L(e^{s}, \nabla_{e_{s}}(u), v)\) |
|
\({}^{L}\hat R(u,v)w\) |
|
P: locality projector |
\(R(u, v)w + \sum_{s} \nabla_{P(L(e^{s}, \nabla_{e_{s}}(u), v))}(w)\) |
|
\([u,v]^\nabla\) |
|
\([u, v]_{E} - \sum_{s} L(e^{s}, \nabla_{e_{s}}(u), v)\) |
||
\(\hat b(u,v)\) |
|
\([u, v]_{E} - \sum_{s} P(L(e^{s}, \nabla_{e_{s}}(u), v))\) |
||
\((1-\mathcal P)\Lambda(u,v)\) |
|
\(\sum_s L(\dots) - \sum_s P(L(\dots))\) |
||
\((\nabla_u{}^{L}T)(v,w)\) |
|
\(\nabla_{u}({}^{L}T(v,w)) - {}^{L}T(\nabla_{u}v, w) - {}^{L}T(v, \nabla_{u}w)\) (explicit) |
||
generalized Ricci anomaly |
|
\(\sum_{s} (\nabla_{L(\dots)}(w) - \nabla_{P(L(\dots))}(w))\) |
||
\(K(\nabla,g,L)(u,v,w)\) |
|
\(-g_{E}(\sum_s L(e^{s}, \nabla_{e_{s}}(v), w), u) - g_{E}(\sum_s L(\dots u, w), v) + g_{E}(\sum_s L(\dots u, v), w)\) |
||
the two sides of (3.44) |
|
kconn: E-Koszul reference connection |
|
The derived algebroid \(E^\nabla\) and the \(E\)-Cartan equations¶
Math |
In code |
Arguments |
Result |
Note |
|---|---|---|---|---|
\(E^\nabla\) / \(E^{\hat\nabla}\) |
|
base: algebroid |
|
Has no declarations of its own |
is it projected? |
|
|
||
\(d(\nabla)f\) |
|
Dn: derived algebroid |
\(d_E^{\nabla}(f)\) |
Closed node; |
\(\mathcal L^\nabla_uf\) |
|
\(L^E{}^{\nabla}_{u}(f)\) |
Returns an operator, which is then applied |
|
derived engine |
|
|
|
|
E-Cartan engine |
|
|
|
|
E-Cartan I sides |
|
|
||
E-Cartan II sides |
|
|
Theorem builders¶
Every builder takes the keyword argument registry=reg (not shown in the table). All
builders except prove_levi_civita_unique return only proof chains. Call examples:
chain = MA.prove_koszul_formula(nabla, g, X, Y, Z, registry=reg) # ProofChain
first, second = MA.prove_torsion_tensorial(nabla, X, Y, f, registry=reg) # two ProofChains
chain, used = MA.prove_bianchi_first(nabla, X, Y, Z, f, registry=reg) # (ProofChain, [Theorem])
chain, thm = MA.prove_levi_civita_unique(nabla, D, g, X, Y, Z, registry=reg) # (ProofChain, Theorem)
print(jacopy.to_ascii(thm.lhs), "=", jacopy.to_ascii(thm.rhs))
∇_X(Y) = D_X(Y)
The builders on an algebroid use \(E\) declared ("local", "regular"), except
prove_e_curvature_last_slot_conditional and prove_projected_curvature_last_slot
(("local", "pre-leibniz", "regular")) and prove_derived_magic_*,
prove_projected_d_squared_*, prove_e_koszul_unique_under_null_locality and
prove_projectors_agree_on_coboundary_values (("local", "regular", "anchor-morphism")).
prove_e_bianchi_first_identity(..., admissible=True) registers the admissibility
declaration itself. The last column notes builders that rely on a declared axiom or cite a
proved theorem.
Builder |
Identity it proves |
Arguments |
Returns |
Note |
|---|---|---|---|---|
|
\(Q_{ab}=dg_{ab}-\omega_{ba}-\omega_{ab}\text{ (in a frame)}\) |
|
|
a declared axiom |
|
\(Q_{ab}(e_c)=e_c(g_{ab})-\textstyle\sum_s\Gamma^s_{ca}g_{sb}-\sum_s\Gamma^s_{cb}g_{as}\) |
|
|
a declared axiom |
|
\(Q_{ab}(X)=Q_{ba}(X)\) |
|
|
|
|
\(Q_{ab}(fX)=f\,Q_{ab}(X)\) |
|
|
|
|
\(T^a(\nabla)=d(\nabla)e^a+\omega^a{}_b\wedge e^b\) |
|
|
|
|
\(R^a{}_b(\nabla)=\hat d(\nabla)\omega^a{}_b+\omega^a{}_c\wedge\omega^c{}_b\) |
|
|
a declared axiom |
|
\(\nabla-\nabla' \text{ is } C^\infty\text{-linear in both slots}\) |
|
|
|
|
\(R(X,Y)Z=-R(Y,X)Z\) |
|
|
cites a theorem |
|
\(R(fX,Y)Z=R(X,fY)Z=R(X,Y)(fZ)=f\,R(X,Y)Z\) |
|
|
cites a theorem |
|
\(T(X,Y)=-T(Y,X)\) |
|
|
cites a theorem |
|
\(T(fX,Y)=T(X,fY)=f\,T(X,Y)\) |
|
|
cites a theorem |
|
\(2g(\nabla_XY,Z)=\text{Koszul}+Q\text{-block}+T\text{-block}\) |
|
|
|
|
\(2g(\nabla_XY,Z)=Xg(Y,Z)+Yg(X,Z)-Zg(X,Y)+g([X,Y],Z)-g([X,Z],Y)-g([Y,Z],X)\) |
|
|
a declared axiom |
|
\(\nabla_XY=D_XY \;(\text{both with } Q=0,\,T=0)\) |
|
|
a declared axiom; returns a |
|
\(\mathfrak S\,R(X,Y)Z=\mathfrak S\,[T(T(X,Y),Z)+(\nabla_XT)(Y,Z)]\) |
|
|
cites a theorem |
|
\(\mathfrak S\,[(\nabla_XR)(Y,Z)W+R(T(X,Y),Z)W]=0\) |
|
|
cites a theorem |
|
\(\nabla_X\nabla_Yf-\nabla_Y\nabla_Xf-\nabla_{[X,Y]}f=0\) |
|
|
|
|
\(T^a(e_b,e_c)=de^a(e_b,e_c)+(\omega^a{}_s\wedge e^s)(e_b,e_c)\) |
|
|
|
|
\(T^a=de^a+\textstyle\sum_s\omega^a{}_s\wedge e^s \text{ (in a frame, indexed sum)}\) |
|
|
|
|
\(R^a{}_b=d\omega^a{}_b+\textstyle\sum_s\omega^a{}_s\wedge\omega^s{}_b \text{ (in a frame)}\) |
|
|
a declared axiom |
|
\(R^a{}_{bcd}=e_c(\Gamma^a_{db})-e_d(\Gamma^a_{cb})+\Sigma\Gamma\Gamma-\Sigma\Gamma\Gamma-\Sigma\Gamma\gamma\) |
|
|
a declared axiom |
|
\(Ric_{bd}=\textstyle\sum_s R^s{}_{dsb}\text{ expanded in }\Gamma,\gamma\) |
|
|
a declared axiom; cites a theorem |
|
\(R=\textstyle\sum_{s,t}g^{st}Ric_{st}\text{ expanded in }\Gamma\) |
|
|
a declared axiom; cites a theorem |
|
\(\nabla_u(fv)=\rho(u)(f)\,v+f\nabla_uv\) |
|
|
|
|
\(R^{(0)}(u,v)(fw)=f\,R^{(0)}(u,v)w\) |
|
|
a declared axiom |
|
\(T^{(0)}(u,fv)=f\,T^{(0)}(u,v)\) |
|
|
a declared axiom |
|
\(T^{(0)}(fu,v)=f\,T^{(0)}(u,v)-L(Df,u,v)\) |
|
|
a declared axiom |
|
\({}^{L}T(fu,v)={}^{L}T(u,fv)=f\,{}^{L}T(u,v)\) |
|
|
a declared axiom |
|
\({}^{L}\hat R(fu,v)w=f\,{}^{L}\hat R(u,v)w\) |
|
|
a declared axiom |
|
\({}^{L}\hat R(u,v)(fw)=f\,{}^{L}\hat R(u,v)w\) |
|
|
a declared axiom |
|
\(\omega^a{}_b(e_c)=\Gamma^a_{cb}\) |
|
|
|
|
\(\langle e^a,T(e_b,e_c)\rangle=\Gamma^a_{bc}-\Gamma^a_{cb}-\gamma^a_{bc}\) |
|
|
|
|
\(\text{admissible}\Rightarrow Q=0\text{ (in frame directions)}\) |
|
|
a declared axiom |
|
\(S(fu,v)=f\,S(u,v)+{}^{g}L(Df,u,v)\) |
|
|
a declared axiom; cites a theorem |
|
\(Q=0\Rightarrow\text{admissible (almost-Courant)}\) |
|
|
a declared axiom |
|
\([fu,v]^\nabla=f[u,v]^\nabla-\rho(v)(f)\,u\) |
|
|
a declared axiom |
|
\({}^{L}T(u,v)+{}^{L}T(v,u)=0\) |
|
|
a declared axiom |
|
\({}^{L}T=0\Rightarrow [u,v]+[v,u]=\textstyle\sum_sL(e^s,\nabla_{e_s}u,v)+\sum_sL(e^s,\nabla_{e_s}v,u)\) |
|
|
a declared axiom |
|
\(\mathcal L^\nabla_u\omega=(d(\nabla)\iota_u+\iota_ud(\nabla))\omega\text{ (on slots)}\) |
|
|
|
|
\(\mathcal L^\nabla_uf=(d(\nabla)\iota_u+\iota_ud(\nabla))f\) |
|
|
|
|
\((\hat d^2\alpha)(u,v,w)=\langle\alpha,\hat b(\hat b(u,v),w)-\hat b(\hat b(u,w),v)+\hat b(\hat b(v,w),u)\rangle\) |
|
|
a declared axiom |
|
\((\hat d(\nabla)^2f)(u,v)=0\) |
|
|
a declared axiom |
|
\(\mathfrak S\,{}^{L}\hat R(u,v)w=\mathfrak S[(\nabla_u{}^{L}T)(v,w)+{}^{L}T({}^{L}T(u,v),w)]+\text{correction blocks}\) |
|
|
|
|
\(\mathfrak S[(\nabla_u{}^{L}\hat R)(v,w)x+{}^{L}\hat R({}^{L}T(u,v),w)x]=\text{correction blocks}\) |
|
|
|
|
\(2g(\nabla_uv,w)+K=\text{Koszul}+Q\text{-block}+{}^{L}T\text{-block}\) |
|
|
|
|
\(\text{E-Koszul}+\text{admissible}\Rightarrow Q(u,v,w)=0\) |
|
|
a declared axiom |
|
\(\text{E-Koszul}+\text{admissible}\Rightarrow g({}^{L}T(u,v),w)=0\) |
|
|
a declared axiom |
|
\({}^{L}T=0,\,Q=0\Rightarrow 2g(\nabla_uv,w)+K=\text{Koszul right-hand side}\) |
|
|
a declared axiom |
|
\(L=0\Rightarrow g(\nabla^1_uv-\nabla^2_uv,w)=0\) |
|
|
a declared axiom |
|
\(\Gamma_{dbc}=\Gamma(K\nabla)_{dbc}+\tfrac12[-Q_{bcd}-Q_{cbd}+Q_{dbc}+{}^0T_{dbc}-{}^0T_{cbd}-{}^0T_{bcd}]\) |
|
|
a declared axiom |
|
\(g(\nabla_uv-\bar\nabla_uv,w)=Q\text{- and }{}^{L}T\text{-blocks}\) |
|
|
a declared axiom |
|
\((\mathcal L^\nabla_vg)(u,w)=g(\nabla_uv,w)+g(u,\nabla_wv)\) |
|
|
a declared axiom |
|
\(\mathcal P_1(L(Df,u,v))-\mathcal P_2(L(Df,u,v))=0\) |
|
|
|
|
\(\nabla^2_{u,v}w-\nabla^2_{v,u}w={}^{L}\hat R(u,v)w-\nabla_{{}^{L}T(u,v)}w+\textstyle\sum_s\nabla_{(1-\mathcal P)L(\dots)}w\) |
|
|
Rules the engine applies automatically¶
These rules are applied by metric_affine_engine, e_connection_engine or the engine of
the corresponding builder. Those that depend on a declaration (metric compatibility,
torsion-freeness, frame completeness) are active only when the corresponding argument is
given. For rules defined outside the facade, the module is given in parentheses.
Rule |
Mathematical counterpart |
|---|---|
|
\(\nabla_{fX+Y}T=f\nabla_XT+\nabla_YT\) |
|
\(\nabla_X(fT)=X(f)\,T+f\,\nabla_XT\) |
|
\(T(X,Y)\to\nabla_XY-\nabla_YX-[X,Y]\) (\(TM\)) |
|
\(R(X,Y)Z\to\nabla_X\nabla_YZ-\nabla_Y\nabla_XZ-\nabla_{[X,Y]}Z\) |
|
\(g(Y,X)\to g(X,Y)\) (canonical order) |
|
\(C^\infty\)-bilinearity of \(g\) |
|
\(Q(X,Y,Z)\to Xg(Y,Z)-g(\nabla_XY,Z)-g(Y,\nabla_XZ)\) |
|
declaration \(\nabla g=0\): \(Xg(Y,Z)\to g(\nabla_XY,Z)+g(Y,\nabla_XZ)\) |
|
declaration \(T=0\): \([X,Y]\to\nabla_XY-\nabla_YX\) |
|
\(\sum_sg^{as}g(e_s,e_c)\to\delta^a_c\) |
|
\(\langle e^a,\nabla_{e_b}e_c\rangle\to\Gamma^a_{bc}\) |
|
\(\langle e^a,\sum_it_i\rangle\to\sum_i\langle e^a,t_i\rangle\) (guarded) |
|
\(\langle\omega^a{}_b,X\rangle\to\langle e^a,\nabla_Xe_b\rangle\) |
|
\(\langle Q_{ab},v\rangle\to Q(v,e_a,e_b)\) |
|
declaration: \(\nabla_{e_b}e_c\to\sum_s\Gamma^s_{bc}e_s\) |
|
declaration: \([e_a,e_b]\to\sum_s\gamma^s_{ab}e_s\) |
|
\(D(\sum_st_s)\to\sum_sD(t_s)\) |
|
\(g(\sum_sV_s,W)\to\sum_sg(V_s,W)\) |
|
\(\nabla_uf\to\rho(u)(f)\) |
|
\(T^{(0)}(u,v)\to\nabla_uv-\nabla_vu-[u,v]_E\) |
|
\(R^{(0)}(u,v)w\to\nabla_u\nabla_vw-\nabla_v\nabla_uw-\nabla_{[u,v]_E}w\) |
|
\(\sum_s\rho(e_s)(f)\,E(e^s)\to E(Df)\) |
|
replaces the symbolic components \(\Gamma,g,\gamma,\theta\) with the |
|
\(\delta^a_b=0\) for distinct concrete indices, \(1\) for equal ones |
|
unrolls \(\sum_s\) over a finite frame (\(s=0,\dots,\dim-1\)) |