Rules the engine applies automatically¶
The rules on this page are not written by the user. The engines, the simplifier and the oracle apply them, and their names appear as step names in proof chains. Use this page to find out what a rule named in a proof step does, and which optional rules can be added to an engine.
“Always on” means that the rule is part of the ready-made engine named in parentheses.
“Optional” rules are added with eng.register(...), as shown on the
Running proofs page. Rules that implement an algebroid axiom are
switched on only by the corresponding declaration (see Algebroids).
Labels such as [B (4.4)] or [MC (3.10)] give the source of a definition; the abbreviations
are listed in the bibliography. The “File” column gives the
source file under jacopy/.
The rules specific to the geometry packages are listed on the package pages: Poisson, Drinfel’d doubles, generalized geometry, metric-affine and your own structure.
Rewrite rules¶
Name |
Mathematics (what the engine does) |
Where switched on |
File |
|---|---|---|---|
|
\(\iota_{fP+Q}=f\iota_P+\iota_Q\) |
optional: |
|
|
\(\iota_{X_1\wedge\dots\wedge X_p}\omega=\iota_{X_p}(\cdots\iota_{X_1}\omega)\) |
optional: |
|
|
\(\iota_P(\alpha_1\wedge\dots\wedge\alpha_q)=\sum_{\lvert I\rvert=p}\mathrm{sgn}(I,I^c)\,P(\alpha_I)\,\alpha_{I^c}\) (\(q\ge p\ge2\); sign convention consistent with the previous rule) |
optional: |
|
|
\((X_1\wedge\dots\wedge X_p)(\alpha_1..\alpha_p)=\sum_\sigma\mathrm{sgn}\sigma\prod_i\langle\alpha_i,X_{\sigma(i)}\rangle\) |
optional: |
|
|
\(m(X+Y)=mX+mY\), \(m(fX)=f\,m(X)\) (tensoriality) |
optional: |
|
|
\(m^{-1}(m(x))=x\), \(m(m^{-1}(x))=x\) |
optional: |
|
|
expansion of \(d\) by the Palais formula; \(\langle d f,X\rangle=\rho(X)f\) |
always on ( |
|
|
canonical definition of \(\mathcal L_X\) (three cases) |
always on ( |
|
|
evaluation is additive and \(C^\infty\)-linear in the form slot: \(\langle f\alpha,Y\rangle=f\langle\alpha,Y\rangle\) |
|
|
|
multilinearity of evaluation in the argument slots |
|
|
|
product rule (\(\mathbb R\)-linearity + graded Leibniz) |
optional: |
|
|
\(\alpha\cdot\beta=\alpha\wedge\beta\) in the head of an evaluation |
optional: |
|
|
\(\mathcal L_{X+Y}=\mathcal L_X+\mathcal L_Y\); not \(C^\infty\)-linearity, \(\mathcal L_{fX}\ne f\mathcal L_X\) |
optional: |
|
|
\(\iota_Xf=0\), for a 1-form \(\iota_X\omega=\langle\omega,X\rangle\) |
always on ( |
|
|
\((\iota_X\omega)(Y_1..Y_k)=\omega(X,Y_1..Y_k)\) |
always on ( |
|
|
\(\iota_{fX+Y}=f\iota_X+\iota_Y\) (tensorial in the vector slot) |
optional: |
|
|
\(\mathrm{Sym}\) and \(\mathrm{Alt}\) expanded under evaluation |
always on ( |
|
|
\(\sum_s(a+b)=\sum_sa+\sum_sb\); factors independent of the bound index are pulled out (the product is not commutative, the order is preserved) |
optional: |
|
|
\((\sum_s\omega_s)(X..)=\sum_s\omega_s(X..)\) |
optional: |
|
|
\((\alpha_1\wedge..\wedge\alpha_n)(X_1..X_n)=\sum_\sigma\mathrm{sgn}\sigma\prod_i\langle\alpha_i,X_{\sigma(i)}\rangle\) |
optional: |
|
|
\(\sum_s\delta^s_c\,t(s)=t(c)\) |
optional: |
|
|
\(T(a,\cdot)(b)=T(a,b)\) |
always on ( |
|
|
multilinearity in the fixed slots |
always on ( |
|
|
\(\omega(X_1..X_j,\cdot..)=\iota_{X_j}\cdots\iota_{X_1}\omega\) (non-leading slots with the permutation sign) |
always on ( |
|
|
\(g^\flat(X)=g(X,\cdot)\), \(\pi^\sharp(\alpha)=\pi(\alpha,\cdot)\) |
always on ( |
|
|
\((\mathcal L_XT)(a_1..)=\rho(X)(T(a_1..))-\sum_iT(..,\mathcal L_Xa_i,..)\) |
always on ( |
|
|
\((\nabla_XT)(a_1..)=X(T(a_1..))-\sum_iT(..,\nabla_Xa_i,..)\) |
optional: |
|
|
\(\langle\alpha,X+Y\rangle=\langle\alpha,X\rangle+\langle\alpha,Y\rangle\) |
optional: |
|
|
\(\alpha\cdot\beta=\alpha\wedge\beta\) |
optional: |
|
|
distributivity of the wedge over sums; \(\alpha\wedge f=f\alpha\) |
optional: |
|
|
\(0\wedge\alpha=0\), \((-\alpha)\wedge\beta=-(\alpha\wedge\beta)\) |
optional: |
|
|
\(0+(-0)+\dots=0\) |
optional: |
|
|
\([X,Y](f)\to X(Y(f))-Y(X(f))\) |
always on ( |
|
|
\((f\cdot V)(g)=f\,V(g)\) (\(C^\infty\)-module structure of vector fields) |
always on ( |
|
|
\([B,A]\to-[A,B]\), \([A,A]\to0\) (canonical form based on the antisymmetry theorem) |
always on ( |
|
|
\([fX,Y]=f[X,Y]-Y(f)X\), \([X,fY]=f[X,Y]+X(f)Y\), additivity (a theorem; not registered in the TM engine, packages switch it on optionally) |
optional: |
|
|
\(\nabla_Xf=X(f)\) (only for a connection on \(TM\)) |
always on ( |
|
|
\(\langle e^a,e_b\rangle=\delta^a_b\) |
always on ( |
|
|
\(\mathcal L_X\omega\to\iota_Xd\omega+d\iota_X\omega\) (\(\deg\omega\ge1\); proved separately for each degree \(p=1,\dots,5\) in the test suite; not proved for symbolic \(p\)) |
optional: |
|
|
\(\iota_{[X,Y]}=\mathcal L_X\iota_Y-\iota_Y\mathcal L_X\) |
optional: |
|
|
\(d(dx)\to0\) (proved separately for each degree \(p=1,\dots,5\) in the test suite; not proved for symbolic \(p\)) |
optional: |
|
|
\(d(\alpha_1\wedge..\wedge\alpha_n)=\sum_i(-1)^{\deg\alpha_1+..+\deg\alpha_{i-1}}\alpha_1\wedge..d\alpha_i..\wedge\alpha_n\) |
optional: |
|
|
\(\langle e^c,[e_a,e_b]\rangle\to\gamma^c_{ab}\) |
always on ( |
|
|
definitional expansion of \([P,Q]_{SN}\) |
always on ( |
|
|
\([a,b]\to-(-1)^{(p-1)(q-1)}[b,a]\) (graded antisymmetry; mechanically verified in degrees \((1,1),(2,1),(2,2),(3,2),(3,3)\)) |
always on ( |
|
|
\(\mathcal L_XP=[X,P]_{SN}\) for \(\deg P\ge2\) |
always on ( |
|
|
\(\rho(fu+v)=f\rho(u)+\rho(v)\) |
always on ( |
|
|
\([\cdot,\cdot]_E\) is \(\mathbb R\)-bilinear: sums and numerical coefficients are pulled out, \(C^\infty\) coefficients are not |
always on ( |
|
|
\(\langle Df,u\rangle=\rho(u)(f)\) |
always on ( |
|
|
\(L\) is \(C^\infty\)-multilinear in all three slots |
always on ( |
|
|
\(g\) is \(C^\infty\)-bilinear, \(g(v,u)=g(u,v)\) |
|
|
|
\(g(g^{-1}\omega,w)=\langle\omega,w\rangle\) |
always on ( |
|
|
\(g^{-1}\) is \(C^\infty\)-linear |
always on ( |
|
|
\(D(f+g)=Df+Dg\), \(D(c)=0\), \(D(fg)=fDg+gDf\) (theorem-classified; its proof is pairing with a generic section, acyclic) |
always on ( |
|
|
\([u,fv]_E=\rho(u)(f)v+f[u,v]_E\) [B (4.4)/MC (3.10)] |
switched on by |
|
|
\([fu,v]_E=-\rho(v)(f)u+f[u,v]_E+L(Df,u,v)\) [MC (3.11)] |
switched on by |
|
|
\(\rho([u,v]_E)=[\rho u,\rho v]_{\mathrm{Lie}}\) [B (4.5)/MC (3.19)] |
switched on by |
|
|
\(J^E(u,v,w)=0\) (Leibniz–Jacobi [B (4.6)], carried by the Jacobiator node) |
switched on by |
|
|
\([v,u]_E=-[u,v]_E\), \([u,u]=0\) |
switched on by |
|
|
\(\rho(u)g(v,w)=g([u,v],w)+g(v,[u,w])\) (C1, [B (4.10)]) |
switched on by |
|
|
\([u,v]_E+[v,u]_E=g^{-1}Dg(u,v)\) (C2, [B Def 4.2-4.3]; applied only in the summing direction, to avoid loops) |
switched on by |
|
|
ordered list of the declared rules |
|
|
|
\(\Phi(fu+v)=f\Phi(u)+\Phi(v)\) |
always on ( |
|
|
\(J(u,v,w)=[u,[v,w]]-[[u,v],w]-[v,[u,w]]\), \(D_\Phi(u,v)=\Phi[u,v]-[\Phi u,v]-[u,\Phi v]\), \(P_\psi(u,v)=\psi[u,v]_E-[\psi u,\psi v]\) |
always on ( |
|
|
\(\mathcal P L(Df,u,v)=L(Df,u,v)\) (\(\hat L\in[\tilde L]\)) |
switched on by |
|
|
\(\mathrm{im}\,\hat L\subset\ker\rho\) |
switched on by |
|
|
\(\mathcal P\mathcal P L=\mathcal P L\) |
switched on by |
|
|
\(D(c)=0\) |
structural in every engine (always) |
|
|
\((A+B)x=Ax+Bx\) |
always on ( |
|
Automatic algebraic passes (simplifier and product rule)¶
Name |
Mathematics / function |
File |
|---|---|---|
|
transposition, sign \(-1\) |
|
|
renaming a dummy index (\(\sum_a=\sum_b\)) |
|
|
\(\text{body}[d\mapsto t]\) (for the Kronecker contraction \(\sum_b\delta_{ab}f(b)=f(a)\); the rule itself lives in the |
|
|
associative normal form for sums and products |
|
|
distribution of a product over a sum (two-sided) |
|
|
idempotent normal form |
|
|
in \(\sum c_i t_i\), adding up the coefficients of the same \(t\) |
|
|
inverse of left distribution |
|
|
\(\sum s_i\langle\alpha,V_i\rangle\to\langle\alpha,\sum s_iV_i\rangle\), \(\sum s_i\,\eta(Y,\dots,V_i)\to\eta(Y,\dots,\sum s_iV_i)\) (linearity in the last slot) |
|
|
\((\text{sorted product},\ e)\), result \(=(-1)^e\cdot\) sorted product |
|
|
folds in \((-1)^e\) if the parity of \(e\) is known |
|
|
\(\omega(Y_{\sigma(1)},\dots)=\operatorname{sgn}\sigma\cdot\omega(Y_1,\dots)\), \(\omega(\dots,Y,\dots,Y,\dots)=0\) |
|
|
Leibniz + linearity for all |
|
|
conditional rewrite rule |
|
|
strategy |
|
|
fixed point (normal form) |
|
|
\(D(c)=0\) (a derivation kills constants) |
|
|
the two normalization passes run by |
|
|
\([A,B]\) |
|
|
\(D(a_1a_2\cdots)\) |
|
|
\([A,B]\) as an antisymmetry claim |
|
Automatic checks (type, degree, provenance)¶
Name |
Mathematics / function |
File |
|---|---|---|
|
converting an int to a Degree |
|
|
contradictory declarations such as “Scalar + Graded(k≠0)” are rejected |
|
|
syntactic equality |
|
|
equality up to renaming of bound variables / pattern variables |
|
|
order-independent comparison of the terms of a \(\sum\) |
|
|
the condition \(\omega(\dots,Y,\dots,Y,\dots)=0\) |
|
|
alternation is rejected by default; only explicitly certified heads (form/multivector classes) count as alternating |
|
|
check that the number of slots = the degree of the head |
|
|
whether a free index occurs (taking shadowing into account) |
|
|
certificate of “is this operator a derivation, or a value” |
|
|
Leibniz may be applied if \(D\) is a derivation or \([D_1,D_2]\) is the commutator of two derivations |
|
|
if one of the operands is not a section of \(TM\), it does not count as a derivation |
|
|
equality with respect to this normal form (without using Koszul information) |
|
|
the Koszul mode only for a bivector \(Q\) and 1-forms |
|
|
if \(E\neq TM\), a section is a “value”, not a derivation |
|
|
exterior degree used in Leibniz signs |
|
|
test for “valued in a bundle other than \(TM\)” |
|
|
test for \(f\in C^\infty(M)\) |
|
|
test for \(c\in\mathbb R\) |
|
|
a rule from outside the library always counts as an “assumption” |
|
|
derived bracket theorem (only for the given triple and verified hypotheses) |
|
|
type/degree compatibility of the two sides |
|
|
hypothesis set of the proof |
|
|
\(\text{decl}(A)\subseteq\text{decl}(B)\) ⇒ a theorem of \(A\) holds in \(B\) |
|
|
name ↔ structure binding |
|
|
error if two structures are bound to the same name |
|
|
(expression, property, value) hypothesis |
|
|
hypotheses not satisfied in the context |
|
|
registry context of the proof |
|
|
whether \(E_0=\text{lhs}\to\dots\to E_n=\text{rhs}\) is connected |
|
|
whether a step was produced by a library rule |
|
|
hard/soft defects |
|
|
\(D^2=0\) (\(D\) of odd degree) |
|
|
\(D(0)=0\) |
|
|
\(\iota_V df=V(f)\) |
|
|
factor whose degree has not been declared |
|
|
refutation in strict mode |
|
Formulas used by the oracle model¶
Name |
Mathematics / function |
File |
|---|---|---|
|
\(\mathbb Q[x_0,\dots,x_{n-1}]\) |
|
|
values of vector fields, forms, multivectors, operators |
|
|
\(dx^I\wedge dx^J=\operatorname{sgn}\,dx^{\text{sort}(IJ)}\) |
|
|
\(\iota_v dx^I=\sum_k(-1)^k v_{I_k}dx^{I\setminus I_k}\) |
|
|
\(\omega(X_1..X_p)=\sum_I\omega_I\det[X_j^{I_i}]\) |
|
|
exterior derivative \(d\) |
|
|
\([X,Y]^i=X(Y^i)-Y(X^i)\) |
|
|
\(\mathcal L_X\) on forms/multivectors |
|
|
recursive definition of \([P,Q]_{SN}\) (with signs shifted by \(s=m-1\)) |
|
|
\(\langle\beta,\pi^\sharp\alpha\rangle=\pi(\alpha,\beta)\) |
|
|
\([\alpha,\beta]_\pi=\mathcal L_{\pi^\sharp\alpha}\beta-\mathcal L_{\pi^\sharp\beta}\alpha-d\,\pi(\alpha,\beta)\) |
|
|
the Palais \(\tilde d\) and \(\tilde{\mathcal L}\) of the algebroid \((T^*M,\pi^\sharp,[\,,]_\pi)\) |
|
|
\((\Pi\omega)(f)=\Pi(\alpha_1,\dots,\alpha_p,df)\) |
|
|
\((\alpha\wedge\beta)=\sum_{(p,q)\text{-shuffle}}\operatorname{sgn}\sigma\,\alpha\,\beta\) |
|
|
sections of \(E\) and ordered multilinear \(E\)-forms |
|
|
interpretation (semantic function) |
|
registered nodes |
node classes the oracle can evaluate: |
|
|
operator algebra |
|
|
\(d_E\) (Palais) |
|
|
\(\mathcal L^E_u\) |
|
|
\(J(u,v,w)=[u,[v,w]]-[[u,v],w]-[v,[u,w]]\) (Leibniz form) |
|
|
\(D_\Phi(u,v)=\Phi[u,v]-[\Phi u,v]-[u,\Phi v]\) |
|
|
\(P_\Phi(u,v)=\Phi[u,v]_E-[\Phi u,\Phi v]_{\text{Lie}}\) |
|
anholonomy |
\(\gamma^c_{ab}=\langle e^c,[e_a,e_b]\rangle\) |
|
|
the \(L\) in \([fu,v]=-\rho(v)(f)u+f[u,v]+L(Df,u,v)\) |
|
|
random functions, vector fields, forms and multivectors on \(\mathbb R^n\) |
|
|
Poisson / counter-model / generic \(\pi\) |
|
|
test basis for operator identities (forms and multivectors of every degree) |
|
|
if the model does not satisfy its claim |
|
|
\((E,\rho,[\,,],g,L)\), with verified axioms |
|
|
\(\rho(u)=u^a\rho_a\) |
|
|
\((Df)_a=\rho_a(f)\) |
|
|
\(g^{-1}\) |
|
|
structure from the family, \(n\), \(r\) |
|
|
unit upper-triangular polynomial frame (det = 1) |
|
|
\(C^\infty\)-linear \(\Phi:E\to TM\) or \(E\to E\) |
|
|
model plan |
|
|
greedy set cover for axiom violations |
|
|
derivable closure of the axioms used |
|
|
counter-model for an unused axiom |
|
|
values of free indices (equal/not equal) |
|
|
\(D\) |
|
|
samples of symbolic degrees |
|
|
operator equality (same value on every test argument) |
|