Mathematical content table¶
This page collects the mathematical content of each of the 186 Python files under jacopy/ in a single table. It is written for readers who know the mathematics but do not read code: the answer to “where is \(X\) defined, where is it proved?” is found here as a file path.
Note
This table describes the repository at commit 9a11e9b. The file descriptions were written for commit 8b46a5d; between 8b46a5d and 9a11e9b no file under jacopy/ was added, removed or renamed (63 files were modified). Every name in the “Key items” column was checked to still occur in its file at 9a11e9b. Line references and numbers in the text may have drifted; the code is authoritative.
How to read¶
There are two ways in:
By folder (“what is in this folder?”). Each folder section starts with a summary paragraph, followed by a “Where to look” box that links the most frequent questions directly to a file, and then by one table row for each file in the folder.
From the concept index (“where is the thing I am looking for?”). The concept index lists the concepts alphabetically, giving for each concept a one-line mathematical definition and the full paths of the files in which it occurs, linked to the folder section.
All tables have the same columns:
Column |
Meaning |
|---|---|
File |
Full path relative to the repository root |
Mathematical content |
What the file does mathematically (1-2 sentences) |
Key items → mathematical counterpart |
Class/function name in the code → the corresponding mathematical object or identity |
Concepts |
Labels in the concept index |
Source |
Citation of a paper/equation (abbreviations below); “—” if none |
Type |
mathematics (the main content is mathematics), partial (infrastructure carrying a mathematical contract), infrastructure (re-exporting, formatting, assembly; no mathematics) |
Reading notes¶
Two notions of degree. JacoPy has two separate gradings. Operator degree (
degree_of): \(|d|=1\), \(|\iota_X|=-1\), \(|\mathcal L_X|=0\), a vector field (as a derivation) 0. Exterior degree (exterior_degree): function 0, \(p\)-form \(p\), \(p\)-vector \(p\), vector field 1. Each row states which one is meant. \(|a|\) is the degree of \(a\).Koszul sign. When two elements of degrees \(|a|\), \(|b|\) are interchanged, the sign \((-1)^{|a||b|}\) appears.
Conventions fixed in the code.
Wedge determinant convention: \((\alpha\wedge\beta)(X,Y)=\alpha(X)\beta(Y)-\alpha(Y)\beta(X)\) (no \(1/p!\)).
\(d\) is defined by the Palais formula, without a combinatorial prefactor.
\(\iota_X\) puts \(X\) into the first slot.
(Anti)symmetrization \(\mathrm{Sym}/\mathrm{Alt}\) is normalized by \(1/k!\).
General principle (central). Every object is defined over a vector bundle \(E\); taking \(E=TM\), \(\rho=\mathrm{id}\), \([\cdot,\cdot]_E=[\cdot,\cdot]_{\mathrm{Lie}}\), the algebroid version reduces to the ordinary version.
*Definition/*Declaration/prove_*.A
*Definitionclass is a rewrite rule (left-hand side → right-hand side): it applies a definition or a linearity property that follows directly from a definition. Some are “THEOREM-classified”: they use a proved theorem as a rule.A
*Declarationclass is an axiom explicitly declared by the user (e.g. \([\pi,\pi]_{SN}=0\), the fundamental identity, \(d\omega=0\), \(d_\theta R=0\)); none is assumed silently. “Under declaration” = closes only once the corresponding declaration is registered; “undeclared” = no additional axiom is needed.A
prove_*function is a theorem builder: it reduces both sides to the same normal form with rules coming from the definitions and the declared axioms, and returns a step-by-step proof chain. The proofs are symbolic and instance-level (generic sections, concrete \(p\)).
“(according to the docstring)” marker: the claim rests only on the file’s docstring and was not traced separately in the code.
Source column. In the packages (
packages/), the citations were taken from the files’ docstrings. In thecentral/rows, the bracketed citations in the content text ([MC …], [B …], etc.) were collected. In the core layers, the source column is “—” (citations, if any, are in the content text). Equation numbers were not re-checked against the papers on this page; full references are in the bibliography.
Source abbreviations (APA 7)¶
MC: Dereli, T., & Doğan, K. (2020). Metric-connection geometries on pre-Leibniz algebroids (arXiv:2006.05957).
ADM: Dereli, T., & Doğan, K. (2023). ‘Anti-commutable’ local pre-Leibniz algebroids and admissible connections. J. Geom. Phys., 186, 104752.
B: Çatal-Özer, A., Dereli, T., & Doğan, K. (2022). Pre-metric-Bourbaki algebroids: Cartan calculus for M-theory (arXiv:2210.00548).
DD: Çatal-Özer, A., Doğan, K., & Yetişmişoğlu, C. (2024). Drinfel’d double of bialgebroids for string and M theories. JHEP, 2024(7), 030 (arXiv:2312.06584).
TW: Çatal-Özer, A., Doğan, K., & Yetişmişoğlu, C. (2025). Drinfel’d doubles, twists and all that… JHEP, 2025(1), 192 (arXiv:2409.11973).
U: Uchino, K. (2002). Remarks on the definition of a Courant algebroid (arXiv:math/0204010).
LWX: Liu, Z.-J., Weinstein, A., & Xu, P. (1997). Manin triples for Lie bialgebroids. J. Differential Geom., 45, 547–574.
Roy: Roytenberg, D. (1999). Courant algebroids, derived brackets and even symplectic supermanifolds (PhD thesis; arXiv:math/9910078).
GM: Grabowski, J., & Marmo, G. (2001). Non-antisymmetric versions of Nambu-Poisson and algebroid brackets. J. Phys. A, 34.
Šev: Ševera, P. (2017). Letters to Alan Weinstein about Courant algebroids (arXiv:1707.00265).
AMSW (Watamura): Asakawa, T., Muraki, H., Sasa, S., & Watamura, S. (2015). Poisson-generalized geometry and R-flux. IJMPA, 30 (arXiv:1408.2649). Equation numbers cited from it have not been verified.
Kosmann-Schwarzbach (2004). Derived brackets (
bibliography.py; some files mark the year as “1996 — AMBIGUOUS”).E6 paper (reference to be verified): a source referred to in the code as “E6 paper” whose bibliographic data has not yet been identified; the numbers (4.10)–(4.15) refer to it, not to TW, and have not been verified.
Layer order¶
core → algebra / algorithms / brackets → central → packages → research → proof → display; oracle is an independent numerical tester (it re-implements the engine’s definitions in coordinates and does not use the engine). A lower layer has no knowledge of the layers above it: core nodes are inert (they apply no signs and no axioms); the rules live in the algorithms/ and central/ layers, and the geometry packages under packages/.
Folders¶
Section |
Files |
mathematics |
partial |
infrastructure |
|---|---|---|---|---|
15 |
10 |
3 |
2 |
|
5 |
4 |
0 |
1 |
|
12 |
9 |
1 |
2 |
|
3 |
2 |
0 |
1 |
|
1 |
0 |
0 |
1 |
|
17 |
13 |
3 |
1 |
|
9 |
6 |
1 |
2 |
|
10 |
7 |
0 |
3 |
|
11 |
8 |
0 |
3 |
|
1 |
0 |
0 |
1 |
|
20 |
13 |
3 |
4 |
|
9 |
6 |
1 |
2 |
|
11 |
10 |
0 |
1 |
|
19 |
16 |
1 |
2 |
|
9 |
4 |
2 |
3 |
|
16 |
3 |
10 |
3 |
|
5 |
0 |
0 |
5 |
|
11 |
7 |
0 |
4 |
|
2 |
0 |
0 |
2 |
|
Total |
186 |
jacopy/core/¶
This folder contains the carrier structure of the symbolic mathematics. The nodes of the expression tree live here: sum, (noncommutative) product, negation, power, rational number, \(\wedge\), \(\otimes\), Hodge \(\star\), the duality pairing \(\langle\alpha,X\rangle\), multilinear evaluation \(\omega(Y_1,\dots,Y_p)\), the indexed sum \(\Sigma_d\), and the symmetrization/antisymmetrization operations. Alongside these are the symbolic degree algebra as polynomials with \(\mathbb Z\) coefficients, the registry that attaches properties such as “scalar”, “graded”, “graded-antisymmetric”, “closed form”, and “Poisson” to objects, and pattern matching (wildcards). The nodes are deliberately inert: sign rules, the Leibniz rule, and the axioms are applied not here but in the algorithms/ and central/ layers.
Tip
Where to look
Where is the \(\wedge\) node defined? →
core/wedge.pyEvaluation \(\omega(Y_1,\dots,Y_p)\) and the alternating property? →
core/multi_eval.pyThe pairing \(\langle\alpha,X\rangle\)? →
core/pairing.pySymbolic degree and the parity of the Koszul sign? →
core/symbolic_degree.py(Degree.parity)Declarations “x is a scalar”, “π is Poisson”, “ω is closed”? →
core/properties.py+core/registry.py\(\sum_a\) (sum over a frame index)? →
core/indexed_sum.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Re-exports the core classes. |
— |
— |
— |
infrastructure |
|
The foundation of the expression tree: the free, noncommutative sum/product algebra over \(\mathbb Q\). Sums are flattened associatively and zeros are dropped. The product is associative; the order of the factors is preserved, 0 is absorbing, 1 is the unit. |
|
scalar multiplication, linearity, normal form/simplification, expression tree |
— |
mathematics |
|
The algebra of the grading. Degrees are elements of the ring \(\mathbb Z[\,\lvert\alpha\rvert,\lvert\beta\rvert,\dots]\) over named degree variables. Since the Koszul sign \((-1)^{d}\) depends only on \(d \bmod 2\), the parity can be determined even for a symbolic degree. For example \(2\lvert\alpha\rvert\lvert\beta\rvert\) is always even. |
|
graded algebra, Koszul sign |
— |
mathematics |
|
Mathematical properties attached to expressions, and their provenance (axiom or derived). Concepts defined here by contract: ℝ-constant scalar, graded element, (graded) symmetry/antisymmetry, closed form, non-degenerate form, Poisson bivector, and Koszul commutativity. |
|
assumption/declaration, graded algebra, Koszul sign, differential form, Poisson structure, Schouten–Nijenhuis bracket |
— |
mathematics |
|
Holds the expression ↔ property links. Lookup order: exact expression → class (MRO) → predicate. Scopes and the axiom whitelist restrict a proof to a given set of axioms. Every answer the registry gives can be recorded as a hypothesis of the proof. |
|
assumption/declaration |
— |
partial |
|
Three notions of equality for expressions: structural (\(==\)), α-equivalence (bijective renaming of wildcard names; the dummy index of Σ is renamed capture-free), and comparison of the top-level sum as a multiset. |
|
normal form/simplification, rewrite rule |
— |
partial |
|
The exterior product node \(\alpha_1\wedge\dots\wedge\alpha_p\). Its mathematical laws are in the docstring: graded antisymmetry \(\alpha\wedge\beta=(-1)^{\lvert\alpha\rvert\lvert\beta\rvert}\beta\wedge\alpha\) and \(\lvert\alpha\wedge\beta\rvert=\lvert\alpha\rvert+\lvert\beta\rvert\). The constructor only flattens associatively, absorbs 0, and drops 1. Reordering and signs are in the |
|
wedge product, differential form, graded algebra, Koszul sign |
— |
mathematics |
|
Tensor product \(a_1\otimes\dots\otimes a_n\): noncommutative and without symmetry; degrees and \((q,r)\) types add up. |
|
tensor |
— |
mathematics |
|
The Hodge star \(\star:\Lambda^p\to\Lambda^{n-p}\) with respect to a metric. Since the degree map \(\lvert\star\omega\rvert=n-\lvert\omega\rvert\) is not linear, it is modeled as a separate node rather than as an operator application ( |
|
Hodge ⋆, metric, differential form |
— |
mathematics |
|
The duality pairing \(\langle\alpha,X\rangle\): the value of a 1-form on a vector field, which is a scalar. Bilinear, degree 0. The meaning of the slots (1st slot form, 2nd slot vector) is left to the caller. |
|
pairing, differential form, vector field |
— |
mathematics |
|
Multilinear evaluation: the value \(\omega(Y_1,\dots,Y_p)\) of a \(p\)-form on \(p\) vector fields; dually, the value \(\pi(\alpha,\beta)\) of a bivector on covectors, or the value of a \((q,r)\)-tensor on mixed slots. With |
|
differential form, multivector, tensor, linearity |
— |
mathematics |
|
Bound indexed sum \(\Sigma_d\,\mathrm{body}\), e.g. \(\sum_a\) over a local frame. Equality is defined by α-equivalence (the dummy index can be renamed). Nested binders are handled correctly. |
|
frame/coframe, indexed sum |
— |
mathematics |
|
The symmetric and antisymmetric part operators \(T_{(ab)}=\tfrac12(T_{ab}+T_{ba})\), \(T_{[ab]}=\tfrac12(T_{ab}-T_{ba})\). Inert in this layer: the permutation expansion is not yet defined, only the degree is preserved. |
|
tensor, (anti)symmetrization |
— |
mathematics |
|
Pattern matching, i.e. the left-hand sides of rewrite rules. Rules can be written with patterns such as “\(d(?A+?B)\to d?A+d?B\)” (linearity), “\(d(?A\,?B)\to\dots\)” (Leibniz), “\([?X,[?Y,?Z]]+\)cyclic\(\to0\)” (Jacobi). Matching is structural and order-preserving; it does not match up to commutativity. Substitutions crossing a Σ binder boundary are rejected (no variable capture). |
|
rewrite rule |
— |
partial |
|
No mathematics. Read-only tree walker; it also descends into the hidden slots of operator atoms (e.g. the \(X\) inside \(\iota_X\)). |
|
— |
— |
infrastructure |
jacopy/algebra/¶
This folder contains the tools for graded derivations and the graded commutator. The application \(D(x)\) of an operator to an argument, operator composition, \([A,B]=AB-(-1)^{\lvert A\rvert\lvert B\rvert}BA\), and the Lie bracket \([X,Y]\) of vector fields are here. Both gradings are defined here: the operator degree (degree_of) and the exterior algebra degree (exterior_degree). The Leibniz expansion itself is in algorithms/product_rule.py.
Tip
Where to look
Graded derivation and the application \(D(x)\)? →
algebra/derivation.py(Derivation,Act)Graded commutator \([A,B]=AB-(-1)^{\lvert A\rvert\lvert B\rvert}BA\)? →
algebra/commutator.pyLie bracket \([X,Y]\) of vector fields? →
algebra/lie_bracket_vf.pyExterior degree of a form / multivector? →
algebra/grading.py(exterior_degree)Operator degree (\(\lvert d\rvert=1\), \(\lvert\iota_X\rvert=-1\))? →
algebra/derivation.py(degree_of)
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Re-exports the classes |
— |
— |
— |
infrastructure |
|
Graded derivation operators and their applications. A \(D\) of degree \(k\) satisfies, by the Koszul rule, \(D(ab)=D(a)b+(-1)^{k\lvert a\rvert}aD(b)\) (the rule is in the docstring; its application is in |
|
graded algebra, Leibniz rule, Koszul sign |
— |
mathematics |
|
Graded commutator \([A,B]=AB-(-1)^{\lvert A\rvert\lvert B\rvert}BA\). In the expansion, even parity gives \(AB-BA\), odd parity gives \(AB+BA\) (anticommutator); if the parity cannot be determined, it raises an error. The fact that the commutator of two graded derivations is again a derivation is used here as a certificate (left to the proof layer as a theorem). |
|
graded algebra, Koszul sign, Leibniz rule |
— |
mathematics |
|
The exterior degree contract: on \(\Lambda^\bullet T^*M\oplus\Lambda^\bullet TM\), function 0, vector field 1, \(p\)-form \(p\), \(p\)-vector \(p\). \(\wedge\) adds degrees; \(d\): +1, \(\iota_X\): −1, \(\iota_P\): −p, \(\mathcal L\) and \(\nabla\): 0; \(\flat/\sharp\) convert between vectors and 1-forms. Unknown and symbolic degrees are kept as separate answers. |
|
graded algebra, differential form, multivector, interior product ι, exterior derivative d |
— |
mathematics |
|
The Lie bracket \([X,Y]\) of vector fields, again a vector field, i.e. a derivation of degree 0 on functions. It is deliberately not expanded as \(XY-YX\), so that after the folding \(\mathcal L_X\mathcal L_Y-\mathcal L_Y\mathcal L_X=\mathcal L_{[X,Y]}\) the result behaves like a single \(\mathcal L_W\). |
|
Lie bracket, vector field, Lie derivative L |
— |
mathematics |
jacopy/algorithms/¶
This folder contains the transformations used for the algebraic normal form of expressions: associativity, distributivity, collecting like terms, folding numerical coefficients, graded-commutative sorting with Koszul signs, sorting alternating multilinear evaluations, and the graded Leibniz (product) rule. All of these steps can be read as reducing an expression to a chosen representative of its equivalence class. At every step, which rules are permitted is defined explicitly: in a noncommutative product the order is preserved, and a sign is folded only if the degrees are known.
Tip
Where to look
Where is the graded Leibniz rule \(D(ab)=D(a)b\pm aD(b)\) applied? →
algorithms/product_rule.pyKoszul sign rule (interchange of factors)? →
algorithms/sort_product.pyThe cancellation \(\omega(X,Y)+\omega(Y,X)=0\)? →
algorithms/normalize_alternating.pyFull simplification pipeline? →
algorithms/simplify.pyCollecting like terms / factoring out a common factor? →
algorithms/collect_terms.py,algorithms/factor_terms.pyPattern → right-hand side rewrite rules? →
algorithms/rewrite.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Re-exports. |
— |
— |
— |
infrastructure |
|
No mathematics. Common interface and result record for a single rewrite step. |
|
— |
— |
infrastructure |
|
Associativity: \((x+y)+z\to x+y+z\), \((ab)c\to abc\). A singleton sum reduces to its single term, the empty sum becomes 0, the empty product 1. |
|
normal form/simplification |
— |
mathematics |
|
Noncommutative distribution: \(A(B+C)D\to ABD+ACD\), the order of the factors is preserved. Multilinear expansion \((a+b)(c+d)=ac+ad+bc+bd\). The same is done for \(\wedge\). |
|
linearity, wedge product, normal form/simplification |
— |
mathematics |
|
Simple algebraic normal form: folds constants (\(\mathbb Q\) arithmetic), \(-(-x)=x\), combines like terms (\(2x+3x=5x\)), moves numerical factors to the front, \(x^0=1\), \(x^1=x\). It does not reorder non-numerical factors (noncommutativity is preserved). |
|
normal form/simplification |
— |
mathematics |
|
Combines structurally equal terms in a sum: \(x+x\to2x\), \(x-x\to0\). |
|
normal form/simplification |
— |
mathematics |
|
The reverse direction: factors out the common factor on the left, \(fA+fB\to f(A+B)\). Only the leftmost factor is taken out, since in a noncommutative product this is always sound. For pairing and evaluation, multilinearity is also applied in the summing direction. |
|
normal form/simplification, linearity, pairing |
— |
mathematics |
|
The Koszul sign rule is here. The factors of a product are sorted graded-commutatively; each time neighbors \(a,b\) are interchanged, \(\lvert a\rvert\lvert b\rvert\) is added to the exponent. The sign is returned as a |
|
Koszul sign, graded algebra, normal form/simplification |
— |
mathematics |
|
Canonical representative of alternating multilinear evaluations: the arguments are sorted, the sign of the permutation is pulled out, a repeated argument gives 0. Thus \(\omega(X,Y)+\omega(Y,X)\) cancels automatically. For \(\wedge\): factors of degree 0 are moved to the front as coefficients (\(f\wedge X=fX\)); if all factors have odd exterior degree, antisymmetric sorting is performed. |
|
differential form, wedge product, Koszul sign, normal form/simplification |
— |
mathematics |
|
The graded Leibniz rule and linearity: \(D(a+b)=Da+Db\); \(D(a_1\cdots a_n)=\sum_i(-1)^{\lvert D\rvert(\lvert a_1\rvert+\dots+\lvert a_{i-1}\rvert)}a_1\cdots D(a_i)\cdots a_n\). For \(\wedge\) the same formula is applied with the exterior degree. Only certified derivations are split. For \(C^\infty\)-linear operators (\(\text{leibniz}=\)False), scalars are pulled out. A composition \(D_1\circ D_2\) is unfolded into nested applications from right to left. |
|
Leibniz rule, linearity, Koszul sign, wedge product, scalar multiplication |
— |
mathematics |
|
Term rewriting system: rule = (left pattern → right-hand side, optional side condition). It can be applied at the root, bottom-up, top-down, or up to a fixed point; it raises an error if it diverges. |
|
rewrite rule, normal form/simplification |
— |
partial |
|
Full simplification: flatten → distribute → canonicalize → sort_product → collect_terms, up to a fixed point. If a registry is given, Koszul sorting is switched on; products with symbolic signs are left unsorted. In the last stage, factoring out a common factor is accepted only if it makes the expression smaller. |
|
normal form/simplification, Koszul sign |
— |
mathematics |
jacopy/brackets/¶
This folder contains the graded bracket abstraction and the derived bracket construction. Defined here are the degree of a bracket; the graded antisymmetry, Leibniz, and Jacobi axioms in the shifted grading; and, for each axiom, the obstruction expression that “must vanish”. The concrete brackets (Lie, Schouten–Nijenhuis, Koszul, Dorfman, Courant…) are under central/ and packages/; this folder holds only the framework and the structure \(\{a,b\}_Q=[[a,Q],b]\).
Tip
Where to look
Antisymmetry / Leibniz / Jacobi signs of a general graded bracket? →
brackets/base.pyJacobi obstruction expression (cyclic sum)? →
brackets/base.py(graded_jacobi_obstruction)Derived bracket \(\{a,b\}_Q=[[a,Q],b]\) and the condition \([Q,Q]=0\)? →
brackets/derived.pyThe form of the Koszul bracket built with the anchor? →
brackets/derived.py(acting_onmode)
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Exports the classes |
— |
— |
— |
infrastructure |
|
A bilinear bracket \([\cdot,\cdot]\) of degree \(k\) on a graded module: \(\lvert[a,b]\rvert=\lvert a\rvert+\lvert b\rvert+k\). Signs are computed with the shifted degree \(s(x)=\lvert x\rvert+k\) (for SN \(s=m-1\), \(m\) the multivector degree). Axioms: antisymmetry \([a,b]=-(-1)^{s(a)s(b)}[b,a]\); Leibniz \([a,bc]=[a,b]c+(-1)^{s(a)\lvert b\rvert}b[a,c]\); cyclic graded Jacobi \(\sum_{cyc}(-1)^{s(a)s(c)}[a,[b,c]]=0\). |
|
Jacobi identity, Leibniz rule, Koszul sign, graded algebra, Schouten–Nijenhuis bracket |
— |
mathematics |
|
Derived bracket \(\{a,b\}_Q:=[[a,Q],b]\). For every \(Q\), it gives a graded Leibniz bracket. With a graded Lie base and an odd (shifted) degree \(Q\), the condition \([Q,Q]=0\) turns it into a Loday (left Leibniz–Jacobi) bracket. The cyclic Lie-type Jacobi holds only on slots with additional antisymmetry. Shift \(k=\lvert Q\rvert+2k_{\text{base}}\). In Koszul mode (with anchor \(\rho\)), \(\{a,b\}=\mathcal L_{\rho a}b-\mathcal L_{\rho b}a-d\langle\rho a,b\rangle\), on 1-forms. |
|
derived bracket, Jacobi identity, Koszul bracket, anchor ρ, Lie derivative L |
— |
mathematics |
jacopy/central/ (root)¶
The root package is only a facade. It documents the common design principle of the three subfolders: the algebroid version gives the ordinary version at \(E=TM\). Subfolders: objects, tangent, algebroid. calculus is the common engine for the TM, algebroid, and Poisson cases.
Tip
Where to look
The principle that the algebroid version reduces to the ordinary version when \(E=TM\), \(\rho=\mathrm{id}\)? →
jacopy/central/__init__.py(docstring)
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics; only a docstring defining the design principle and the subpackages. |
— |
vector bundle, anchor ρ, Lie algebroid |
— |
infrastructure |
jacopy/central/objects/¶
This folder contains the basic objects of differential geometry. All of them are attached to a bundle \(E\) (default \(TM\)):
functions \(C^\infty(M)\), vector fields and sections \(\Gamma(E)\);
\(p\)-forms \(\Gamma(\Lambda^pE^*)\), \(p\)-vectors \(\Gamma(\Lambda^pE)\), \((q,r)\)-tensors;
the metric and the Hodge star, the connection \(\nabla\), frame and coframe;
interior products \(\iota_X\), \(\tilde\iota_\omega\), \(\iota_P\); musical isomorphisms \(\sharp/\flat\);
partial evaluation of multilinear maps.
This layer mostly sets up the objects and the degree/type algebra (\(\deg\iota_X=-1\), \(\nabla_X\) preserves type, etc.). The calculus rules are largely in calculus/ and tangent/. The exceptions are these: endomorphism.py and multivector_interior.py carry their own definition rules, and kind.py is the common “type query”.
Tip
Where to look
What is a vector field (section), and how does it act on a function? →
objects/vector_field.py(VectorField, \(U(f)\))A \(p\)-form and its evaluation on vectors? →
objects/form.py(Form.__call__)Into which slot does the interior product \(\iota_X\) put its argument, and what is its degree? →
objects/interior.py(first slot, degree \(-1\)). Its rules are incalculus/interior_rules.py.\(\sharp/\flat\) and general lowering/raising of indices? →
objects/musical.py,objects/partial_eval.pyMetric, Hodge \(\star\), connection \(\nabla\), frame \((e_a)\) with \(\delta^a_b\)? →
objects/metric.py,objects/connection.py,objects/frame.pyHow are the degree and type of an expression determined? →
objects/kind.py(kind_of)
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
Exports the basic objects. Wedge, tensor product, (anti)symmetrization, Hodge, and pairing are in fact re-exported from |
— |
function (C^∞), vector field, differential form, multivector, tensor, metric, connection, frame/coframe, wedge product, interior product ι, Hodge ⋆, pairing |
— |
infrastructure |
|
Context of the vector bundle \(E\) on which the objects live (name + optional rank). If no rank is given, a symbolic dimension is used (abstract proof mode). |
|
vector bundle |
— |
partial |
|
Smooth functions \(C^\infty(M)\) on the base manifold. They are independent of the bundle and have degree 0. |
|
function (C^∞), graded algebra |
— |
partial |
|
Vector fields, i.e. sections of the bundle, are defined as derivations on functions: \(U(f)\) is the directional derivative. A section of a bundle other than \(TM\) acts on a function only through the anchor: \(u(f):=\rho(u)(f)\). |
|
vector field, vector bundle, anchor ρ, Leibniz rule, graded algebra |
— |
mathematics |
|
\(p\)-forms \(\Gamma(\Lambda^pE^*)\) and the canonical pairing of a 1-form with a vector. Full evaluation: \(\langle\omega,X\rangle\) for \(p=1\), alternating multilinear evaluation (determinant convention) for \(p\ge2\). |
|
differential form, pairing, wedge product, vector bundle |
— |
mathematics |
|
Interior product \(\iota_X\). Definition: \((\iota_X\omega)(X_1,\dots,X_{p-1}):=\omega(X,X_1,\dots,X_{p-1})\), i.e. \(X\) enters the first slot. It is a graded anti-derivation of degree \(-1\). The docstring states: \(\iota_X(\alpha\wedge\beta)=\iota_X\alpha\wedge\beta+(-1)^{\deg\alpha}\alpha\wedge\iota_X\beta\), \(\iota_X\iota_X=0\). This file only sets up the operator and the degree law; the slot rules are in |
|
interior product ι, differential form, graded algebra, Koszul sign |
— |
mathematics |
|
\(p\)-vector fields \(\Gamma(\Lambda^pE)\). They are the contravariant counterpart of forms: alternating multilinear on 1-forms, \(\pi(\alpha,\beta)=-\pi(\beta,\alpha)\). There are two separate gradings: |
|
multivector, Poisson structure, graded algebra, pairing |
— |
mathematics |
|
Tilde interior product: \((\tilde\iota_\omega\pi)(\omega_1,\dots,\omega_{p-1}):=\pi(\omega,\omega_1,\dots)\). It has degree \(-1\) on multivectors. On a plain vector field, \(\tilde\iota_\omega X=\langle\omega,X\rangle\). |
|
interior product ι, multivector, tilde calculus, Poisson structure |
— |
mathematics |
|
Tensors of type \((q,r)\): the multilinear map \(T:(E^*)^q\times E^r\to C^\infty(M)\). Scaling by a function, \(fT\), is the \(C^\infty(M)\)-module structure. Type preservation is tracked by the signature \((q,r)\). |
|
tensor, scalar multiplication, linearity |
— |
mathematics |
|
Metric \(g\): a symmetric, non-degenerate \((0,2)\)-tensor. The inverse metric \(g^{-1}\) is a \((2,0)\)-tensor. The Hodge star \(\star_g\) takes a \(p\)-form to an \((n-p)\)-form (\(n\) is the rank of the bundle). |
|
metric, Hodge ⋆, tensor |
— |
mathematics |
|
Musical isomorphisms. One slot of a bilinear map is left open: \(g^\flat(X)=g(X,\cdot)\) (\(TM\to T^*M\), degree \(+1\)) and \(\pi^\sharp(\alpha)=\pi(\alpha,\cdot)\) (\(T^*M\to TM\), degree \(-1\)). Both are \(C^\infty\)-linear (tensorial); there is no Leibniz rule. |
|
metric, Poisson structure, linearity, musical isomorphism ♯/♭ |
— |
mathematics |
|
When \(j\) slots of a \(k\)-linear map are fixed, a \((k-j)\)-linear map in the open slots remains. This is the general form of coordinate-free lowering/raising of indices (with arbitrarily many slots). The type is derived: the open part of an alternating head with vector slots is a \((k-j)\)-form. |
|
tensor, differential form, interior product ι, musical isomorphism ♯/♭, partial evaluation |
— |
mathematics |
|
Interior product with a multivector \(\iota_P:\Lambda^qT^*M\to\Lambda^{q-p}T^*M\), \(P\in\Lambda^pTM\). For decomposable \(P\), \(\iota_{X_1\wedge\dots\wedge X_p}:=\iota_{X_p}\circ\cdots\circ\iota_{X_1}\), then extended \(C^\infty\)-linearly. The result is a form (partial contraction). The cited “E6 paper” (4.13)-(4.14) is not in the repo; the labels are not verified (according to the docstring). |
|
interior product ι, multivector, wedge product, exceptional geometry (E6), linearity, rewrite rule |
— |
mathematics |
|
A pair of invertible bundle endomorphisms: \(m\) on the vector side, \(\tilde m\) on the form side. It is the basic building block of the change-of-frame twist \(\Psi_m=\mathrm{diag}(m,\tilde m)\) [TW (7.11), arXiv:2409.11973]. The conjugated brackets are in |
|
twist (Ψ, B, Π, R), Drinfeld double, linearity, rewrite rule, bundle endomorphism |
TW (7.11), arXiv:2409.11973 |
mathematics |
|
Local frame \((e_a)\) and dual coframe \((e^a)\), \(\langle e^a,e_b\rangle=\delta^a_b\). This file defines the Kronecker delta as a constant scalar: every derivation kills it. Here \(\delta^a_a=1\) is the fixed-index reading; no summation is implied. The duality rule is in |
|
frame/coframe, pairing, Kronecker delta |
— |
mathematics |
|
The common type query. It structurally determines the kind of an expression (function / vector / form / multivector / tensor / operator / zero / unknown / incompatible), its exterior degree, and its bundle. Operators shift the degree (\(d\): \(+1\), \(\iota\): \(-1\), \(\mathcal L\) and \(\nabla\): \(0\), \(\iota_P\): \(-p\)). No guessing is done; what is unknown stays “unknown”. |
|
graded algebra, type system |
— |
partial |
|
Affine connection \(\nabla\) and \(\nabla_X\). It takes a \((q,r)\)-tensor to the same type (degree 0). This layer contains only the type and degree algebra. \(\nabla_Xf=X(f)\) and the Leibniz rule are in |
|
connection, covariant derivative ∇, tensor, Leibniz rule |
— |
mathematics |
jacopy/central/calculus/¶
This folder contains the tools of the general Cartan calculus derived from an (anchor, bracket) pair. BracketCalculus takes a pair \((\rho,[\cdot,\cdot])\):
it defines the operator \(d\) by the intrinsic Palais formula;
it defines the operator \(\mathcal L_X\) by core cases and an evaluation formula;
everything else, such as \(d^2=0\) and the Cartan formula, is proved as a theorem from these definitions.
The TM case \((\mathrm{id},\mathrm{Lie})\), the algebroid case \((\rho_E,[\cdot,\cdot]_E)\), and the Poisson case \((\pi^\sharp,\mathrm{Koszul})\) are instantiated through the same code. The rest of the folder consists of calculus-independent definition rules: placement of \(\iota\) into slots, multilinearity, the determinant evaluation of the wedge, the expansion of Sym/Alt, indexed sums, partial evaluation, \(\mathcal L\) and \(\nabla\) on tensors. There is no prove_* in this folder.
Tip
Where to look
The definition of \(d\) (Palais formula)? →
calculus/bracket_calculus.py(IntrinsicDDefinition)The definition of \(\mathcal L_X\) (\(\mathcal L_Xf\), \(\mathcal L_XY=[X,Y]\), evaluation formula)? →
calculus/bracket_calculus.py(IntrinsicLDefinition)How is the same \(d\) shared between TM / algebroid / Poisson? →
calculus/bracket_calculus.py(BracketCalculus; flagsskew,right_leibniz)The evaluation convention of wedge (determinant)? →
calculus/indexed_rules.py(WedgeEvalDefinition)The \(1/k!\) normalization of Sym/Alt? →
calculus/symmetrize_rules.py\(\mathcal L_X\) and \(\nabla_X\) on tensors? →
calculus/tensor_calculus.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
Exports the general bracket calculus. Examples according to the docstring: TM \((\mathrm{id},\mathrm{Lie})\), algebroid \((\rho_E,[\cdot,\cdot]_E)\), Poisson \((\pi^\sharp,\mathrm{Koszul})\). |
— |
exterior derivative d, Lie derivative L, anchor ρ |
— |
infrastructure |
|
Derivation of the exterior derivative from the bracket. The intrinsic Palais formula is taken as the definition: \(d\omega(X_0..X_p)=\sum_i(-1)^i\rho(X_i)\,\omega(..\hat X_i..)+\sum_{i<j}(-1)^{i+j}\omega([X_i,X_j],..\hat X_i..\hat X_j..)\). The Lie derivative is also given by definition: \(\mathcal L_Xf=\rho(X)f\), \(\mathcal L_XY=[X,Y]\), \((\mathcal L_X\omega)(Y_1..Y_k)=\rho(X)\omega(Y..)-\sum_i\omega(..,[X,Y_i],..)\). The Cartan formula is not a definition here but a theorem. Axiom flags: without |
|
exterior derivative d, Lie derivative L, anchor ρ, Lie bracket, derived bracket, linearity, Leibniz rule, pairing, wedge product, rewrite rule, Palais formula |
— |
mathematics |
|
The rule form of the definition of \(\iota_X\); independent of the anchor and the bracket. |
|
interior product ι, linearity, pairing, rewrite rule |
— |
mathematics |
|
Expansion of (anti)symmetrization under evaluation into a sum over permutations, with \(1/k!\) normalization: \(\mathrm{Sym}(T)(Y..)=\frac1{k!}\sum_\sigma T(Y_\sigma..)\) and \(\mathrm{Alt}(T)(Y..)=\frac1{k!}\sum_\sigma\mathrm{sgn}\sigma\,T(Y_\sigma..)\). |
|
tensor, (anti)symmetrization, rewrite rule |
— |
mathematics |
|
The finite indexed sum \(\sum_s\) and the meaning of the wedge: linearity of the sum, evaluation commuting with the sum, determinant evaluation of the wedge of \(n\) 1-forms, and Kronecker contraction. |
|
wedge product, frame/coframe, linearity, rewrite rule, indexed sum |
— |
mathematics |
|
The meaning of partial evaluation (a multilinear map with \(j\) slots fixed). |
|
interior product ι, tensor, musical isomorphism ♯/♭, linearity, rewrite rule, partial evaluation |
— |
mathematics |
|
The evaluation law of \(\mathcal L_X\) and \(\nabla_X\) on a general \((q,r)\)-tensor. According to the docstring, both are derivations of the contraction algebra. |
|
Lie derivative L, covariant derivative ∇, tensor, rewrite rule |
— |
mathematics |
|
Structureless “hygiene” rules that can reach inside operator slots: pairing, wedge, and sum laws. |
|
pairing, wedge product, linearity, normal form/simplification, rewrite rule |
— |
partial |
|
Tests “Is this expression definitely a \(C^\infty(M)\) function?” and “Is this definitely an \(\mathbb R\)-constant?”. Conservative: when in doubt, it answers “no”. |
|
function (C^∞), normal form/simplification |
— |
infrastructure |
jacopy/central/tangent/¶
This folder contains the tools of the \(TM\) case:
The Lie bracket, defined as a commutator.
\(d\) and \(\mathcal L\), instantiated by the general calculus \((\mathrm{id},[\cdot,\cdot]_{\mathrm{Lie}})\).
The anholonomy coefficients \(\gamma^c_{ab}\) of a frame.
The Schouten–Nijenhuis bracket.
The Cartan relations.
Antisymmetry, Jacobi, Leibniz, the Cartan formula, \([\mathcal L,d]=0\), \([\mathcal L,\iota]=\iota_{[\cdot,\cdot]}\), \(d^2=0\), and the like are theorems proved from the definitions; they are not added as axioms. Residuals of bracket identities (Jacobi) are closed by a “repair loop”: the residual is proved separately on a generic function and then cited. The explicit prove_* functions in this folder prove \(d^2=0\) and the Cartan formula for 0- and 1-forms. Higher degrees: for \(p=1,\dots,5\) each degree is a separate concrete proof (tests: TestTMHigherDegrees::test_magic and ::test_d_squared_zero; on the algebroid side only the Cartan formula, TestAlgebroidHigherDegrees). There is no proof for symbolic (general) \(p\), and within central there is no separate prove_* for \(p\ge2\) either.
Tip
Where to look
The proof of \(d^2=0\)? → on functions
tangent/exterior.py(prove_d_squared_zero_on_functions), on 1-formstangent/cartan.py(prove_d_squared_zero_on_one_forms). \(p=1,\dots,5\): each degree a separate concrete proof, testtests/test_higher_degree_audit.py; no proof for symbolic \(p\).The Cartan formula \(\mathcal L_X=d\iota_X+\iota_Xd\)? → proof
tangent/cartan.py(prove_cartan_magic_*); rule formtangent/cartan_rules.py(MagicFormulaDefinition)The definition of the Lie bracket, Jacobi and Leibniz? →
tangent/lie_bracket.py(prove_jacobi,prove_leibniz_second_slot)\([\mathcal L_X,\iota_Y]=\iota_{[X,Y]}\), \([\mathcal L_X,\mathcal L_Y]=\mathcal L_{[X,Y]}\)? →
tangent/cartan.pyThe Schouten–Nijenhuis bracket and its signs? →
tangent/schouten.pyAnholonomy \(\gamma^c_{ab}\) and \(de^c=-\gamma^c_{ab}\)? →
tangent/anholonomy.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics; the package docstring and re-exports. |
— |
Lie bracket, exterior derivative d, Lie derivative L, Schouten–Nijenhuis bracket, Cartan relations |
— |
infrastructure |
|
Compatibility alias for the old module path (redirects to |
— |
— |
— |
infrastructure |
|
Assembles the TM engine with definitional rules only. List: action of the Lie bracket; action of a scalar as multiplication; \(\nabla_Xf=X(f)\); frame duality; Palais \(d\); canonical \(\mathcal L\); \(\iota\) rules; multilinearity; definition of \(\gamma\); Sym/Alt; bracket and SN orientation; SN expansion; \(\mathcal L\) on multivectors; \(\mathcal L\) on tensors; partial evaluation. Holonomic frames are added on request. |
|
rewrite rule, normal form/simplification |
— |
infrastructure |
|
Definition of the Lie bracket \([U,V]:=U\circ V-V\circ U\), i.e. \([U,V](f)=U(V(f))-V(U(f))\). Antisymmetry, Jacobi, Leibniz, and \(\mathbb R\)-linearity follow from this definition as theorems. Operator equality is witnessed by equality on a generic \(f\) (agreement on generators). |
|
Lie bracket, vector field, Jacobi identity, Leibniz rule, linearity, scalar multiplication, theorem builder, rewrite rule, normal form/simplification |
— |
mathematics |
|
Two definition rules, left inert (unexpanded): \(\nabla_Xf=X(f)\) and \(\langle e^a,e_b\rangle=\delta^a_b\). With these, the module property of the connection is obtained as a theorem. |
|
covariant derivative ∇, connection, frame/coframe, pairing, Leibniz rule, theorem builder, rewrite rule |
— |
mathematics |
|
On \(TM\), \(d\) is the \((\mathrm{id},\mathrm{Lie})\) instance of the general calculus (there is no separate code path). Special cases: \(df(X)=X(f)\) and \(d\omega(X,Y)=X(\omega(Y))-Y(\omega(X))-\omega([X,Y])\). |
|
exterior derivative d, d²=0, Lie bracket, theorem builder, Palais formula |
— |
mathematics |
|
The \(TM\) Lie derivative and the Cartan relations, all proved theorems. The Cartan formula is not an axiom: it is derived here from the definitions. “Repair loop”: if the residual has the form \(\langle\omega,V\rangle\), then \(V=0\) is proved on a generic \(f\) (Jacobi/antisymmetry), registered as a theorem, and cited. |
|
Lie derivative L, exterior derivative d, interior product ι, Cartan relations, d²=0, Jacobi identity, theorem builder, proof chain |
— |
mathematics |
|
The operator-level rule form of the proved Cartan relations. Packages (twist, Nambu) use them inside non-evaluation slots. They are not in the always-on engines; they are enabled optionally. |
|
Cartan relations, d²=0, Lie derivative L, interior product ι, exterior derivative d, wedge product, Leibniz rule, Koszul sign, rewrite rule |
— |
mathematics |
|
Anholonomy coefficients of a frame, \([e_a,e_b]=\gamma^c_{ab}e_c\). The definition is the coefficient itself: \(\gamma^c_{ab}:=\langle e^c,[e_a,e_b]\rangle\) (also works in symbolic dimension). Canonical index order \(\gamma^c_{ba}=-\gamma^c_{ab}\), \(\gamma^c_{aa}=0\). In a holonomic (coordinate) frame \(\gamma=0\). \(\gamma\) is not a constant but a genuine function. |
|
frame/coframe, Lie bracket, Cartan structure equations, Jacobi identity, exterior derivative d, theorem builder, anholonomy γ |
— |
mathematics |
|
Schouten–Nijenhuis bracket. The shifted degree \(s=m-1\) is used (\(m\) is the multivector degree). Base cases: \([X,Y]_{SN}=[X,Y]_{\mathrm{Lie}}\), \([f,g]=0\), \([X,f]=X(f)\), \([f,X]=-X(f)\). Wedge-Leibniz recursion: \([X\wedge Y,Z]=X\wedge[Y,Z]+(-1)^{s(Z)m(Y)}[X,Z]\wedge Y\) and \([Z,X\wedge Y]=[Z,X]\wedge Y+(-1)^{s(Z)m(X)}X\wedge[Z,Y]\). Degree \(m([a,b])=m(a)+m(b)-1\). Graded antisymmetry \([A,B]=-(-1)^{s(A)s(B)}[B,A]\), graded Jacobi, and Leibniz are obligations to be proved as theorems. |
|
Schouten–Nijenhuis bracket, multivector, Lie bracket, Lie derivative L, wedge product, Koszul sign, graded algebra, Leibniz rule, theorem builder, rewrite rule |
— |
mathematics |
jacopy/central/algebroid/¶
This folder contains the tools of the algebroid case.
The basic structure is an anchored bundle \((E,\rho)\): \(\rho\) is a \(C^\infty\)-linear anchor, \(u(f):=\rho(u)f\), and the coboundary \(D=\rho^*\circ d\) is defined.
The bracket is only \(\mathbb R\)-bilinear and opaque.
The hierarchy axioms are declared: right/left-Leibniz, anchor morphism, Leibniz–Jacobi, antisymmetry, metric invariance, symmetric part. Levels: almost-Leibniz, local, pre-Leibniz, Leibniz, Lie, almost-Courant, metric, pre-Courant, Courant.
The defect operators are defined: Jacobiator, Derivator, Predator.
The locality projector is defined.
The algebroid Cartan calculus is built with \((\rho_E,[\cdot,\cdot]_E)\).
Theorems between axioms are proved, e.g. “right-Leibniz + Jacobi ⇒ anchor morphism”.
Sources: B = arXiv:2210.00548, MC = arXiv:2006.05957; for the defect formulas TW = arXiv:2409.11973 App. A.
Tip
Where to look
The anchor \(\rho\), the coboundary \(D\), and the algebroid context? →
algebroid/context.pyWhich axioms exist, and what do the Lie/Courant levels contain? →
algebroid/context.py(DECLARATIONS,LEVELS); their rules are inalgebroid/declarations.pyThe proof of the theorem “Leibniz ⇒ anchor morphism”? →
algebroid/theorems.py(prove_anchor_morphism)Definitions of the Jacobiator, Derivator, and Predator? →
algebroid/operators.py\(d_E^2=0\) and the Cartan formula on the algebroid? →
algebroid/calculus.py; the defect formulas (in terms of the Predator/Jacobiator) are inalgebroid/defect_formulas.pyLocality projector? →
algebroid/locality.pyThe locality operator \(L(\omega,u,v)\) (an object distinct from the projector \(\mathcal P\))? →
algebroid/context.py(LocalityOperator,locality_term); multilinearity rule inalgebroid/rules.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics; a docstring stating the source keys. |
— |
Lie algebroid, anchor ρ, citation/bibliography |
— |
infrastructure |
|
Compatibility alias for the old module path (redirects to |
— |
— |
— |
infrastructure |
|
Assembles the algebroid engine: general structural rules, anchored-bundle definitions, the rules of the declared axioms, and the optional locality projectors. For \(E=TM\) it returns the TM engine directly (the reduction is carried out literally). |
|
rewrite rule, assumption/declaration, locality projector 𝒫 |
— |
infrastructure |
|
Anchored vector bundle and algebroid context \((E,\rho,[\cdot,\cdot]_E)\). \(\rho:E\to TM\) is a bundle morphism, hence \(C^\infty\)-linear by definition. Sections act on functions by \(u(f):=\rho(u)(f)\). Coboundary \(D:=\rho^*\circ d\), \(\langle Df,u\rangle=\rho(u)f\) [MC Def 3.5]. The bracket is only \(\mathbb R\)-bilinear [B Def 4.1]. The E-metric (symmetric, non-degenerate), \(g^{-1}\), the locality operator \(L(\omega,u,v)\), and the list of declarable axioms with the hierarchy levels are also defined here. |
|
vector bundle, anchor ρ, Lie algebroid, almost-Lie algebroid, Courant algebroid, metric, assumption/declaration, citation/bibliography, coboundary D, locality operator L |
MC Def 3.5; B Def 4.1; MC Def 3.1 |
mathematics |
|
Rules that hold by definition on every anchored bundle; they contain nothing from the hierarchy. |
|
anchor ρ, linearity, metric, pairing, Leibniz rule, rewrite rule, coboundary D, locality operator L |
— |
mathematics |
|
Declared axioms: each enters the engine only when it is declared. An undeclared axiom cannot be used, and the proof fails honestly. Every proof step carries the name of the axiom it uses. |
|
assumption/declaration, Leibniz rule, anchor ρ, Jacobi identity, Jacobiator, Courant algebroid, Dorfman bracket, metric, rewrite rule, citation/bibliography |
B (4.4)/MC (3.10); MC (3.11); B (4.5)/MC (3.19); B (4.6); B (4.10); B Def 4.2-4.3 |
mathematics |
|
Defect operators: each measures the failure of a structural property, and its vanishing identically (\(\equiv0\)) is the property itself. \(C^\infty\)-linear bundle maps \(\Phi\) are also modeled here. Sign note: the Predator in this file is defined as \(P_\Phi=\Phi[u,v]-[\Phi u,\Phi v]\) [DD footnote 5]. TW, by contrast, uses the opposite sign \([\rho u,\rho v]-\rho[u,v]\) (the docstring states this explicitly). |
|
Jacobiator, anchor ρ, Lie bracket, linearity, rewrite rule, Derivator, Predator |
DD footnote 5; DD (4.39), arXiv:2312.06584 |
mathematics |
|
Locality projector [MC Def 3.10]. On a regular anchored bundle (\(\ker\rho\) a subbundle) it is a \(C^\infty\)-linear map \(\mathcal P:\Gamma(E)\to\Gamma(E)\) with two properties. Absorption: \(\mathcal P(L(Df,u,v))=L(Df,u,v)\). Kernel: \(\rho(\mathcal P(L(\omega,u,v)))=0\). The option |
|
locality projector 𝒫, anchor ρ, linearity, rewrite rule |
MC Def 3.10; ADM Def 3.8 |
mathematics |
|
Algebroid Cartan calculus: the instance of the general |
|
exterior derivative d, Lie derivative L, interior product ι, Cartan relations, d²=0, anchor ρ, Jacobi identity, Lie algebroid, almost-Lie algebroid, theorem builder |
— |
mathematics |
|
Theorems between axioms [B §4, (4.11); MC §3]. Flagship theorem: right-Leibniz + Leibniz–Jacobi ⇒ anchor morphism, i.e. every Leibniz algebroid is pre-Leibniz. The proof uses an auxiliary-section argument: \(J(u,v,fw)=0\) is expanded, \(A\cdot w=0\) is obtained, and \(A=0\) follows by agreement on generators. In the metric family, C1 + non-degeneracy ⇒ right-Leibniz; C1 + C2 ⇒ left-Leibniz with an explicit locality term. |
|
anchor ρ, Leibniz rule, Jacobi identity, Courant algebroid, metric, locality projector 𝒫, theorem builder, proof chain, Predator, locality operator L |
B §4, (4.11); MC §3; B (4.11)-1; B (4.11)-2; MC §3 |
mathematics |
|
Exact defect formulas of the broken Cartan relations [TW App. A, (A.5)/(A.7)/(A.8)]. This file uses the paper’s sign \(\mathcal P(u,v)=[\rho u,\rho v]-\rho[u,v]\); this is the negative of the \(P_\rho\) node in |
|
Cartan relations, d²=0, Lie derivative L, exterior derivative d, Jacobiator, anchor ρ, almost-Lie algebroid, curvature, theorem builder, Predator |
TW App. A, (A.5)/(A.7)/(A.8) |
mathematics |
jacopy/packages/ (root)¶
This folder contains the four geometry packages built on top of the central layer (TM Cartan calculus, abstract algebroid, Schouten–Nijenhuis): metric-affine geometry, symplectic/Poisson/Nambu–Poisson, algebroid calculus and Drinfel’d doubles, generalized geometry and Courant algebroids. Each package has a facade (__init__), which exports the object/bracket constructors, the prove_* theorem functions, and the package’s own rules.
Tip
Where to look
Where is metric-affine geometry (torsion, curvature, Levi-Civita)? →
metric_affine/.Where are the Poisson bracket, the Koszul bracket, and the symplectic form? →
poisson/.Where are the Drinfel’d double, the twists, and the Roytenberg bracket? →
drinfeld/.Where are the Courant/Dorfman brackets and the Courant axioms? →
generalized/.
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
List of the four subpackages; no mathematical content of its own. |
— |
— |
— |
infrastructure |
jacopy/packages/metric_affine/¶
This package contains the metric-affine geometry tools. On the tangent bundle (TM) it provides the connection \(\nabla\), torsion \(T\), curvature \(R\), and non-metricity \(Q=\nabla g\), together with their tensoriality, Bianchi I/II (form with torsion), the Ricci identity, the generalized Koszul formula (Schouten decomposition), existence and uniqueness of the Levi-Civita connection, and frame components (\(\Gamma^a_{bc}\), Cartan structure equations, Ricci, Ricci scalar, Einstein). The same framework is carried over to an algebroid \(E\): the E-connection, pseudo-torsion/curvature, the torsion \(^{L}T\) modified by the locality operator \(L\) and the projected curvature \(^{L}\hat R\), admissible connections, the derived algebroid \(E^\nabla\) and the two exterior derivatives \(d(\nabla)\), \(\hat d(\nabla)\), the E-Koszul formula, and the E-Bianchi and E-Cartan equations. Main sources: MC (2020) and ADM (2023).
Tip
Where to look
Where are the definition and tensoriality of torsion and curvature? →
torsion_curvature.py(prove_torsion_tensorial,prove_curvature_tensorial).Where are the Koszul formula and uniqueness of Levi-Civita? →
metric_koszul.py(prove_koszul_formula,prove_levi_civita_unique); algebroid version:e_koszul.py.Where are Bianchi I/II with torsion proved? →
bianchi.py; algebroid (E-Bianchi) version:e_bianchi.py.Where are the Cartan structure equations and the Ricci/Einstein components? →
frame_components.py; algebroid version:e_cartan.py.Where are the locality-corrected torsion \(^{L}T\) and the projected curvature \(^{L}\hat R\)? →
modified.py.Where is the equivalence admissible connection ⟺ metric compatibility (almost-Courant)? →
admissible.py.
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
Package facade: exported names of the torsion, curvature, non-metricity, Ricci, Einstein, Bianchi, Cartan, Koszul, Schouten and E-connection layer. |
Bridge |
— |
— |
infrastructure |
|
Definitional structure of an affine connection: \(C^\infty\)-linearity in the direction slot, Leibniz in the argument. |
|
connection, covariant derivative ∇, linearity, Leibniz rule, rewrite rule |
— |
partial |
|
The package engine: TM engine + connection rules. |
|
connection, rewrite rule |
— |
infrastructure |
|
Legacy path of |
— |
— |
— |
infrastructure |
|
Canonical definitions of torsion and curvature and the classical properties derived from them (tensoriality, antisymmetry, tensoriality of the difference of two connections). |
|
torsion, curvature, connection, covariant derivative ∇, tensor, linearity, Lie bracket, vector field |
MC Prop 3.1 (difference tensor pattern) |
mathematics |
|
(Pseudo-)Riemannian metric context and the definition of non-metricity; declarations of metric compatibility and torsion-freeness. |
|
metric, non-metricity, tensor, connection, torsion, frame/coframe, assumption/declaration |
— |
mathematics |
|
The Koszul formula family: the generalized Koszul identity for an arbitrary connection (Schouten decomposition), the classical Koszul formula for Levi-Civita, and uniqueness. |
|
Koszul formula, Levi-Civita, metric, non-metricity, torsion, connection |
— |
mathematics |
|
Legacy path of |
— |
— |
— |
infrastructure |
|
Bianchi I/II with torsion (metric-affine) and the Ricci identity on functions; the only external input consists of section-level Lie–Jacobi instances. |
|
Bianchi identity, curvature, torsion, covariant derivative ∇, Jacobi identity, Lie bracket |
— |
mathematics |
|
Frame components of a connection and the component formulas derived from them: torsion, curvature, Cartan structure equations, Ricci, Ricci scalar, Einstein. |
|
frame/coframe, connection, torsion, curvature, Cartan structure equations, Ricci/Einstein, wedge product, differential form, metric |
— |
mathematics |
|
Completeness axioms of the frame (opt-in) and commutation of linear operators with finite indexed sums. |
|
frame/coframe, connection, Lie bracket, linearity, rewrite rule |
— |
partial |
|
Non-metricity 1-forms \(Q_{ab}\) and their properties; relation to the connection 1-forms. |
|
non-metricity, differential form, frame/coframe, connection, metric, Cartan structure equations |
ADM (2.4), (2.5), (2.12), (2.13) |
mathematics |
|
Substituting concrete component data supplied by the user (\(\Gamma^a_{bc}\), \(g_{ab}\), \(\gamma^c_{ab}\), \(\theta^{ab}\)) into symbolic component expressions and evaluating them. |
|
frame/coframe, connection, metric, Poisson structure, normal form/simplification |
— |
partial |
|
Linear E-connection on an anchored bundle \((E,\rho)\) and the pseudo-tensorial E-torsion/E-curvature; the tensoriality defect in the first slot caused by the locality operator. |
|
connection, covariant derivative ∇, anchor ρ, torsion, curvature, Leibniz rule, vector bundle, locality operator L |
MC Def 3.2, (3.8)–(3.9), (3.19), Prop 3.3 |
mathematics |
|
Locality-corrected (modified) E-torsion and projected E-curvature; tensoriality of both and the generalized Ricci identity. The locality projector \(\mathcal P\) is used here. |
|
torsion, curvature, connection, tensor, locality projector 𝒫, locality operator L, frame/coframe |
MC Cor 3.2, Def 3.7, Prop 3.3–3.4, Cor 3.3, Def 3.11; ADM Prop 3.8, (3.36) |
mathematics |
|
Admissible E-connections on a local almost-Leibniz algebroid: generation of the symmetric part of the bracket by \(L\) and \(\nabla\); relation to torsion-freeness and metric compatibility; the modified bracket. |
|
connection, torsion, metric, non-metricity, Courant algebroid, Leibniz rule, locality operator L, assumption/declaration |
ADM Def 3.3–3.4, Prop 3.2, Cor 3.2, Prop 3.3, Prop 3.5, (3.12); MC Prop 4.1; B (4.8) |
mathematics |
|
The derived algebroid \(E^\nabla\) (whose bracket is the modified or the projected modified bracket) and the two exterior derivatives \(d(\nabla)\), \(\hat d(\nabla)\) attached to it; the Cartan magic formula and \(\hat d^2\). |
|
exterior derivative d, Lie derivative L, interior product ι, Cartan relations, d²=0, Jacobiator, anchor ρ, locality projector 𝒫 |
ADM Def 3.14–3.16, (3.41)–(3.45) |
mathematics |
|
E-Bianchi I and II (identity form) for an arbitrary E-connection; the simplified form of I for an admissible connection. |
|
Bianchi identity, curvature, torsion, connection, Jacobiator, locality projector 𝒫 |
ADM Prop 3.7, (3.35) |
mathematics |
|
E-Cartan structure equations with two exterior derivatives on an anti-commutable local pre-Leibniz algebroid, evaluated on a frame. |
|
Cartan structure equations, torsion, curvature, exterior derivative d, wedge product, frame/coframe |
ADM Prop 3.9, (3.38)–(3.42), (3.48) |
mathematics |
|
The Koszul formula family on an algebroid: the E-generalized Koszul identity with locality correction \(K\), the E-Koszul connection, its relation to admissibility, uniqueness under null locality, and the fundamental theorem in components. |
|
Koszul formula, Levi-Civita, metric, non-metricity, torsion, frame/coframe, locality projector 𝒫, locality operator L |
MC Prop 3.7–3.8, Def 3.14, Prop 3.10, Thm 3.2, (3.36), (3.44), Prop 4.2; ADM Prop 3.12–3.14 |
mathematics |
jacopy/packages/poisson/¶
This package contains the symplectic, Poisson, and Nambu–Poisson tools: the Poisson bracket \(\{f,g\}=\pi(df,dg)\) defined by the Poisson bivector \(\pi\), the Hamiltonian vector field, and the sharp map \(\pi^\sharp\); the Koszul bracket \([\alpha,\beta]_\pi\) on 1-forms and the cotangent Lie algebroid \((T^*M,\pi^\sharp,[\cdot,\cdot]_\pi)\); the Jacobi identities under the declaration \([\pi,\pi]_{SN}=0\) (including Koszul–Jacobi on general 1-forms); the symplectic form \(\omega\) and the bridge \(\pi=\omega^{-1}\); the tilde calculus \((\tilde d,\tilde{\mathcal L},\tilde\iota)\) with the roles interchanged; and the Nambu–Poisson \((p+1)\)-vector with the higher Koszul bracket. Jacobi-type identities are always proved under the declaration \([\pi,\pi]_{SN}=0\) (or the fundamental identity).
Tip
Where to look
Where are the definition, antisymmetry and Leibniz rule of the Poisson bracket? →
core.py.Where is the Jacobi identity of the Poisson bracket proved? →
showcase.py(prove_poisson_jacobi, under the declaration \([\pi,\pi]_{SN}=0\)).Where is the Jacobi identity of the Koszul bracket on general 1-forms? →
koszul_jacobi.py(prove_general_koszul_jacobi).Where are the symplectic form and the preservation of \(\omega\) by the Hamiltonian flow? →
symplectic.py.Where are the tilde calculus (\(\tilde d\), \(\tilde{\mathcal L}\), \(\tilde\iota\)) and \(\tilde d^2=0\)? →
tilde.py.Where are the Nambu–Poisson structure and the higher Koszul bracket? →
nambu.py.
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
Package facade: Poisson core, Koszul, cotangent algebroid, tilde calculus, Nambu–Poisson. |
— |
— |
— |
infrastructure |
|
Poisson structure and canonical definitions; antisymmetry, the Leibniz rule, the bracket with constants, and sharp/Hamiltonian compatibility, proved as theorems. |
|
Poisson structure, Poisson bracket, Hamiltonian vector field, multivector, Schouten–Nijenhuis bracket, Leibniz rule, assumption/declaration |
— |
mathematics |
|
The Koszul bracket on 1-forms; its antisymmetry, and on exact forms its value as the differential of the Poisson bracket. |
|
Koszul bracket, Lie derivative L, exterior derivative d, differential form, Poisson bracket |
— |
mathematics |
|
Legacy path of |
— |
— |
— |
infrastructure |
|
Cotangent algebroid showcase: right-Leibniz for the Koszul bracket, Poisson–Jacobi under \([\pi,\pi]_{SN}=0\), and the Hamiltonian anchor morphism; evaluation view of the Schouten square. |
|
cotangent algebroid, Lie algebroid, Koszul bracket, Jacobi identity, Schouten–Nijenhuis bracket, Hamiltonian vector field, anchor ρ, Leibniz rule |
— |
mathematics |
|
Jacobi identity of the Koszul bracket on general (non-exact) 1-forms, under the declaration \([\pi,\pi]_{SN}=0\); the proof is built with a certificate, as a rational linear combination of “seeds” known to vanish. |
|
Koszul bracket, Jacobi identity, Schouten–Nijenhuis bracket, proof chain, assumption/declaration |
— |
partial |
|
The symplectic special case: closed, non-degenerate \(\omega\); preservation of \(\omega\) by the Hamiltonian flow; the bracket chain through the bridge \(\pi=\omega^{-1}\) (convention: interior product into the first slot). |
|
symplectic form, Hamiltonian vector field, Poisson bracket, interior product ι, Lie derivative L, exterior derivative d, assumption/declaration |
— |
mathematics |
|
The tilde calculus applied to the cotangent algebroid: sections are 1-forms, “forms” are multivectors; \(\tilde d\), \(\tilde{\mathcal L}\), \(\tilde\iota\), the Cartan magic formula, \(\tilde d^2=0\), and tilde anholonomy. |
|
tilde calculus, cotangent algebroid, Koszul bracket, Cartan relations, d²=0, multivector, frame/coframe, Jacobi identity |
— |
mathematics |
|
Nambu–Poisson structure of order \(p\) (\((p+1)\)-vector \(\Pi\)), the Nambu bracket, and the Dorfman-type higher Koszul bracket on \(p\)-forms; reduction to the Koszul bracket at \(p=1\), right-Leibniz, exactness of the symmetric part, and Leibniz–Jacobi under the fundamental identity. |
|
Nambu–Poisson, Koszul bracket, multivector, Leibniz rule, Jacobi identity, Dorfman bracket, assumption/declaration |
DD §6, (6.8), (6.9), remark after (6.13); GM (context of Leibniz-type Nambu brackets) |
mathematics |
jacopy/packages/drinfeld/¶
This package contains the tools for calculus on algebroids and for Drinfel’d doubles. It contains: the calculus \((\mathcal L,\iota,d)\) induced on \(Z\) by an algebroid \(A\), and the second action \(\mathcal K_V=-\mathcal L_V+d\iota_V\); the bialgebroid compatibility conditions; the double bracket on \(E=A\oplus Z\) (standard double = Dorfman bracket, Poisson/LWX double, Nambu double); metric invariance; and the fact that the anchor is a bracket morphism. It also contains the twist automorphisms \(\Psi\) (\(\Psi_\Pi\), \(\Psi_B\), \(\Psi_m\)) and \([u,v]_\Psi=\Psi^{-1}[\Psi u,\Psi v]\), the R-twist \(R'(\omega,\eta)=[\Pi\omega,\Pi\eta]-\Pi[\omega,\eta]\), the H-twist, and the general 8-component Roytenberg bracket, as well as the \(B_n\) and exceptional (\(TM\oplus\Lambda^2\oplus\Lambda^5\)) examples. Main sources: DD (2024) and TW (2025).
Tip
Where to look
Where are “standard double = Dorfman bracket” and its Leibniz–Jacobi identity? →
double.py(dorfman_double,prove_dorfman_jacobi_form).Where are the calculus conditions and the \(\mathcal K\)-operator? →
calculus_conditions.py; tilde (Nambu) version:tilde_calculus.py.Where are the twist \(\Psi\) (\(\Psi_\Pi\), \(\Psi_B\), \(\Psi_m\)) and the R-twist \(R'\)? →
twist.py.Where is “H-twisted Dorfman is Courant ⟺ \(dH=0\)”? →
roytenberg.py(prove_h_twisted_jacobi_measures_dh).Where is it proved that the total anchor is a bracket morphism? →
bracket_morphism.py.Where are the E6 exceptional Courant bracket (\(TM\oplus\Lambda^2\oplus\Lambda^5\)) and the \(\Psi_\Pi\) twist? →
examples.py.
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
Package facade; states that the DD and TW equation numbers are labeled separately. |
— |
— |
DD; TW |
infrastructure |
|
The three conditions of the calculus on Z induced by A, and the \(\mathcal K\)-operator; proof that the ordinary Cartan calculus (\(A=TM\), \(Z=\Lambda^pT^*M\)) satisfies these conditions. |
|
Cartan relations, Lie derivative L, interior product ι, exterior derivative d, bialgebroid, Jacobi identity |
DD §4, (4.4)–(4.5), (4.14), (4.18), (4.32)–(4.34), App A |
mathematics |
|
Compatibility conditions for the Poisson Lie bialgebroid \((TM,T^*M_\pi)\) (including the derivation/derivator condition). |
|
bialgebroid, Poisson structure, Koszul bracket, tilde calculus, Cartan relations |
DD (4.36)–(4.38), (4.41), (6.6)–(6.7), (6.17) |
mathematics |
|
The Drinfel’d double bracket on \(E=A\oplus Z\), component by component: standard double = Dorfman bracket; Poisson (LWX/triangular) double; Nambu double. Right-Leibniz, symmetric part \(=\mathcal D\langle\cdot,\cdot\rangle_+\), and Leibniz–Jacobi. |
|
Drinfeld double, Dorfman bracket, pairing, anchor ρ, Leibniz rule, Jacobi identity, Poisson structure, Nambu–Poisson, tilde calculus |
DD (4.8), (4.11), (4.17), (6.6)–(6.7), (6.25), (D.1)–(D.4); LWX |
mathematics |
|
The standard double \(A\oplus\Lambda^pA^*\) over an abstract algebroid \(A\) with its own Cartan calculus; a finite scan of which subset of declared properties transfers to the double. |
|
Drinfeld double, Lie algebroid, Cartan relations, Leibniz rule, Jacobi identity, locality operator L, assumption/declaration |
TW §3 (after (3.17)) |
mathematics |
|
Metric-invariance compatibility conditions for the Nambu double; at the level of the double, the operator of metric invariance is the Lie derivative along the total anchor. |
|
Drinfeld double, pairing, Nambu–Poisson, tilde calculus, Lie derivative L, anchor ρ |
DD (D.14)–(D.19), (4.44)–(4.50), (6.20); TW (5.22) |
mathematics |
|
Bracket-morphism compatibility conditions for \(\varphi=\mathrm{id}\oplus\Pi\) (total anchor \(\rho(U+\omega)=U+\Pi\omega\)); the total anchor is a bracket morphism of the double. |
|
anchor ρ, Drinfeld double, Nambu–Poisson, tilde calculus, Lie bracket |
TW (4.18)–(4.20); DD (4.51)–(4.52) |
mathematics |
|
Proof that the Nambu tilde calculus built from the \((p+1)\)-vector \(\Pi\) is indeed a calculus (under the bracket-morphism form of the fundamental identity); the Jacobi compatibility conditions. |
|
tilde calculus, Nambu–Poisson, Cartan relations, Jacobi identity, bialgebroid, assumption/declaration |
DD (C.1)–(C.3), (4.16), (4.34), (4.36)–(4.40), (6.7), (6.9), (6.17), (D.5)–(D.13) |
mathematics |
|
Twist automorphisms \(\Psi\in\mathrm{Aut}(A\oplus Z)\) and the brackets they induce: \(\Psi_\Pi\) turns the Dorfman bracket into the Nambu double (\(+R'\)); \(\Psi_B\) produces the Ševera H-twist (\(H=dB\)); \(\Psi_m\) is a change of frame; the linearity defect of the R-twist; the Jacobi identity of the Nambu double via the twist argument. |
|
twist (Ψ, B, Π, R), Dorfman bracket, Drinfeld double, Nambu–Poisson, H-flux, Jacobi identity, linearity |
TW §7, (7.3), (7.7), (7.11)–(7.20), (7.24)–(7.26); DD (4.17), (6.6)–(6.7); Šev |
mathematics |
|
The general 8-component Roytenberg bracket on \(A=TM\), \(Z=\Lambda^pT^*M\) (the tilde side, the R-twist, and the H-twist can each be switched on or off); the H-closure condition measures exactly \(dH\); twisted FI declarations. |
|
twist (Ψ, B, Π, R), H-flux, Dorfman bracket, tilde calculus, Jacobi identity, Nambu–Poisson, Schouten–Nijenhuis bracket |
TW (3.12), (3.15), (5.2), (5.4)–(5.16), (7.25)–(7.26); DD (D.8); Roy; Šev |
mathematics |
|
Three concrete doubles from the literature: \(B_n\)-generalized geometry, the exceptional Courant bracket (\(TM\oplus\Lambda^2\oplus\Lambda^5\), M-theory cross term), and the exceptional \(\Psi_\Pi\) twist; also the calculus items of the \(B_n\) splittings. |
|
exceptional geometry (E6), generalized geometry, Dorfman bracket, pairing, twist (Ψ, B, Π, R), H-flux, Jacobi identity, multivector |
TW §8, (5.6)–(5.7), (5.21), (8.1)–(8.3), (8.10)–(8.28); E6 paper (reference to be verified) (4.10)–(4.14) |
mathematics |
jacopy/packages/generalized/¶
This package contains the tools for generalized geometry and Courant algebroids: the LWX Courant axioms [C1]–[C5] and Uchino’s redundancy theorems (some axioms follow from the others) and the alternative axioms [C’1]–[C’5] in Dorfman/Roytenberg form; the standard and H-twisted Dorfman/Courant brackets on \(TM\oplus T^*M\) and their axiom sets; Poisson-generalized \((TM)_0\oplus(T^*M)_\theta\) and R-flux; identification of Courant structures from the Roytenberg bracket; (pre-)Bourbaki algebroids with an R-valued metric, Bourbaki pre-calculus, exact structures and the Ševera-type classification; transport of properties by a general \(\Psi\)-twist; and the exceptional double and the \(\Psi_\Pi\) rotation. Sources: U, LWX, Roy, B (2022), AMSW, TW, MC, E6 paper (reference to be verified).
Tip
Where to look
Where are the LWX Courant axioms [C1]–[C5] and the Uchino redundancies? →
courant_axioms.py; Dorfman form [C’1]–[C’5]:dorfman_axioms.py.Where are the standard Courant bracket on \(TM\oplus T^*M\) and [C1] (the \(D\,T\) term)? →
standard_courant.py.Where are H-flux and “Courant ⟺ \(dH=0\)” (concrete, \(p=1\))? →
twisted_courant.py.Where are R-flux and \(d_\theta R=0\)? →
r_twisted.py; Poisson-based \((TM)_0\oplus(T^*M)_\theta\):poisson_generalized.py.Where is the transport of properties by a general \(\Psi\)-twist? →
general_twist.py.Where are the Bourbaki algebroids and the Ševera-type classification? →
bourbaki_structure.py,bourbaki_precalculus.py,bourbaki_exact.py,bourbaki_severa.py.Where are the E6 exceptional double and its rotation? →
exceptional_double.py,exceptional_rotation.py.
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
Package facade: Courant axiomatics, Uchino redundancies, standard/H/general-twist brackets, Roytenberg–Courant, Bourbaki, Poisson-generalized/R-twist, exceptional double/rotation, Nambu↔Poisson bridge. |
— |
— |
— |
infrastructure |
|
Infrastructure for rules that use a proved theorem as a rewrite rule (carrying the theorem’s assumptions over to the result). |
|
rewrite rule, theorem builder, proof chain, assumption/declaration |
— |
infrastructure |
|
The LWX definition of a Courant algebroid and Uchino’s redundancy theorems: [C3], [C4], and the \(D\) formula follow from [C2], [C5], and the Leibniz rule (L) for \(D\). |
|
Courant algebroid, Courant bracket, anchor ρ, pairing, Leibniz rule, assumption/declaration |
U §1, Prop 2.1(i)–(ii), Prop 2.2, Rem 2.1–2.2; LWX; Roy |
mathematics |
|
The non-skew (Dorfman) definition of a Courant algebroid [C’1]–[C’5] and its redundancies: [C’3] and [C’2] follow from the others. ℝ-additivity for the \(D\)-formula is left open. |
|
Courant algebroid, Dorfman bracket, pairing, anchor ρ, Leibniz rule, Jacobi identity |
U Rem 2.3; Roy; GM; B (4.10)–(4.11) |
mathematics |
|
The standard Courant algebroid on \(TM\oplus T^*M\), component by component: the remaining axioms of the Dorfman bracket, the Courant (skew) bracket, the Dorfman↔Courant relation, LWX [C3], and [C1]. |
|
Courant algebroid, Dorfman bracket, Courant bracket, pairing, anchor ρ, Jacobi identity, generalized geometry |
U §1, Rem 1, Prop 2.2, Rem 2.2; LWX |
mathematics |
|
The H-twisted Courant algebroid on \(TM\oplus T^*M\): since the H-term is tensorial and antisymmetric, [C’2]–[C’5] are unchanged; the defect of [C’1] is \(dH\); if \(H=dB\), it is a Courant algebroid. |
|
H-flux, Courant algebroid, Dorfman bracket, Courant bracket, twist (Ψ, B, Π, R), Jacobi identity |
Šev; B §4 (after (4.12)); TW (5.13) context |
mathematics |
|
For any bracket and any invertible \(C^\infty\)-linear \(\Psi:E\to E\), \([u,v]'=\Psi^{-1}[\Psi u,\Psi v]\); transport of all algebroid properties with primed data. |
|
twist (Ψ, B, Π, R), anchor ρ, pairing, Leibniz rule, Jacobiator, Bourbaki algebroid |
TW (7.3) |
mathematics |
|
Identification of the Roytenberg bracket in the Poisson case (\(p=1\)) with verified Courant structures, depending on which switches are on. |
|
Courant algebroid, Dorfman bracket, Drinfeld double, twist (Ψ, B, Π, R), H-flux, Poisson structure |
TW (5.2); LWX |
mathematics |
|
The Poisson-based Courant algebroid \((TM)_0\oplus(T^*M)_\theta\) (TM side trivial; \(T^*M\) side Koszul): anchor \(\theta^\sharp\omega\), tilde-Dorfman bracket, and the Courant axioms [C’1]–[C’5]. |
|
generalized geometry, Courant algebroid, Poisson structure, Koszul bracket, tilde calculus, Dorfman bracket, Courant bracket, anchor ρ, pairing |
AMSW §2.2, (2.6)–(2.7) (not verified); U Rem 1 |
mathematics |
|
R-flux: a trivector \(R\) is contracted with the two form parts and lands in the vector component; this is the dual of the H-twist. The anchor-morphism property is preserved; the Jacobi defect is the Lichnerowicz–Poisson differential \(d_\theta R\). |
|
twist (Ψ, B, Π, R), Courant algebroid, Schouten–Nijenhuis bracket, tilde calculus, Jacobi identity, Poisson structure, assumption/declaration |
AMSW §3 (not verified); TW (7.25) |
mathematics |
|
The Koszul brackets in Nambu language (\(p=1\)) and in Poisson language are the same 1-form; the form component of [C’1] for the Watamura double is obtained by citing the general Koszul–Jacobi theorem. |
|
Koszul bracket, Nambu–Poisson, Poisson structure, Jacobi identity |
AMSW (not verified) |
partial |
|
Evaluation of the pairing, the Dorfman bracket, and the anchor on frame/coframe sections; dictionary of the components in terms of \(\delta\), \(\gamma\), \(\tilde\gamma\), \(\theta^{ab}\); component identity of \(\circledast\). |
|
frame/coframe, pairing, Dorfman bracket, anchor ρ, Koszul bracket, exceptional geometry (E6), multivector |
AMSW (2.6) (not verified); E6 paper (reference to be verified) (4.13)–(4.14) |
mathematics |
|
Locality projectors on the exact Courant algebroid \(TM\oplus T^*M\): a \(C^\infty\)-linear map fixing exact forms fixes every 1-form; the family \(P_C\) built from a \((0,2)\)-tensor \(C\) satisfies the locality projector conditions; comparison of \(P_B\) with \(\mathrm{pr}_2\) on a frame witness. |
|
locality projector 𝒫, Courant algebroid, differential form, linearity, frame/coframe |
MC Def 3.10, Prop 4.1 (4.3), Prop 4.2; ADM Def 3.8 |
mathematics |
|
The (almost-/metric-) Bourbaki structure layer with an R-valued E-metric: \(\mathbb D\) is first-order with symbol \(\mathbb L\); \(\mathcal L^R\) is a derivation with anchor symbol; locality = symbol; right-Leibniz from metric invariance; left-Leibniz. |
|
Bourbaki algebroid, metric, anchor ρ, Leibniz rule, locality operator L, assumption/declaration |
B Def 6.2, (6.8), (6.11), Cor 6.1, Def 7.1, (7.2), (7.3), (7.8); B (4.11) |
mathematics |
|
The Bourbaki pre-calculus quintuple \((\iota,d,l,\mathcal L^R,\mathcal L^Z)\) and its two axioms; the standard structure makes \(T(M)\oplus Z\) an exact pre-metric-Bourbaki algebroid; the ordinary Cartan calculus is a Bourbaki pre-calculus. |
|
Bourbaki algebroid, Cartan relations, interior product ι, exterior derivative d, Lie derivative L, pairing |
B Def 9.1–9.2, Thm 9.1, (9.14)–(9.18), (7.8) |
mathematics |
|
Exact pre-metric-Bourbaki algebroids and the induced pre-calculus: splitting data \(\varphi\), \(\chi\); \(\mathcal L^Z\) and \(\iota\) defined from the \(E\)-bracket and the metric; the induced quintuple satisfies (9.14)–(9.15). |
|
Bourbaki algebroid, anchor ρ, pairing, Cartan relations |
B §8–9, (8.3), (8.5), Lemma 9.1, Prop 9.1, (9.7), (9.9), (9.11)–(9.15) |
mathematics |
|
Ševera-type classification of exact pre-metric-Bourbaki algebroids: each is the standard structure twisted by a pair \((F,H)\); if \(\varphi\) is isotropic, \(H\) is a Z-valued 2-form. |
|
Bourbaki algebroid, H-flux, twist (Ψ, B, Π, R), Leibniz rule |
B Thm 9.2, Cor 9.1, (9.19)–(9.21), (6.11), (7.2), (8.3); Šev |
mathematics |
|
The exceptional Courant bracket rotated by the E6 twist \(\Psi_\Pi\) equals, up to the derived twist \(R'\), the Drinfel’d double built with the block map \(\Pi(\omega_2,\omega_5)=\Pi_3\omega_2+\hat\Pi\omega_5\) for \(A=TM\) and \(Z=\Lambda^2\oplus\Lambda^5\); the four bidegree pieces of \(R'\). |
|
exceptional geometry (E6), Drinfeld double, twist (Ψ, B, Π, R), Nambu–Poisson, tilde calculus, multivector |
E6 paper (reference to be verified) (4.10)–(4.14); TW (8.1) |
mathematics |
|
Conjugation of the exceptional Courant bracket on \(TM\oplus\Lambda^2\oplus\Lambda^5\) by the E6 twist, and term-by-term decomposition of the resulting bracket (form and vector slots). |
|
exceptional geometry (E6), twist (Ψ, B, Π, R), Lie derivative L, interior product ι |
E6 paper (reference to be verified) (4.10)–(4.12) |
mathematics |
jacopy/research/¶
This folder contains the tools of the layer in which the user writes their own research question: generalized sections \(U\oplus\omega_2\oplus\omega_5\) (\(TM\oplus\Lambda^pT^*M\), the E₆ exceptional bundle \(TM\oplus\Lambda^2\oplus\Lambda^5\)), block-operator matrices for bundle automorphisms and their unipotent inverses, a Courant-type axiom suite (right Leibniz, symmetric part, anchor morphism, metric invariance, Leibniz–Jacobi), transport of the whole structure by a \(\Psi\)-twist, and index antisymmetrization \(T^{[a_1\dots a_n]}\). Also here is a registration system that assembles the engine automatically, according to the node families occurring in the expressions to be checked.
Tip
Where to look
Sections of \(TM\oplus T^*M\) or \(TM\oplus\Lambda^2\oplus\Lambda^5\)? →
research/sections.pyThe block matrix \(\Psi\) and its inverse? →
research/block_matrix.pyTesting the Courant-type axioms (right Leibniz, anchor morphism, Jacobi)? →
research/axiom_suite.pyTransporting the structure by a \(\Psi\)-twist? →
research/axiom_suite.py(AlgebroidData.transport)Index antisymmetrization \(T^{[ab]}\)? →
research/antisymmetrize.pySelecting the needed rules and assembling the engine automatically? →
research/engine_assembly.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Exports five building blocks. |
— |
research interface |
— |
infrastructure |
|
Sections of the bundle \(E=A\oplus Z\) are first-class objects: a vector field and one or more forms. The \(C^\infty(M)\)-module structure on \(\Gamma(E)\) is defined slot by slot (addition, negation, multiplication by a function). |
|
research interface, generalized geometry, exceptional geometry (E6), vector bundle, scalar multiplication |
— |
mathematics |
|
Block-operator matrices of bundle automorphisms, e.g. \(\Psi_\Pi=\begin{pmatrix}1&\Pi\\0&1\end{pmatrix}\). The entries are operators between slots (\(\theta^\sharp:\Lambda^1\to TM\), \(\iota_\cdot B:TM\to\Lambda^p\) …) and they form an algebra closed under addition and composition. For unipotent \(\Psi=1+N\) (\(N\) nilpotent) the inverse is exactly \(\Psi^{-1}=1-N+N^2-\dots\) (finite Neumann series). For non-unipotent twists the user must supply the inverse. |
|
research interface, twist (Ψ, B, Π, R), vector bundle |
— |
mathematics |
|
Given a bracket, an anchor \(\rho\), a pairing \(\langle,\rangle\), and a coboundary \(D\), it tests Courant-type conditions component by component: vector components are evaluated on a test function, \(k\)-forms on \(k\) new vector fields. \(\Psi\)-transport [arXiv:2409.11973 §7]: \([\cdot,\cdot]'=\Psi^{-1}[\Psi\cdot,\Psi\cdot]\), \(\rho'=\rho\circ\Psi\), \(\langle,\rangle'=\langle\Psi\cdot,\Psi\cdot\rangle\), \(D'=\Psi^{-1}\circ D\). |
|
research interface, Courant algebroid, anchor ρ, Leibniz rule, Jacobi identity, pairing, metric, twist (Ψ, B, Π, R) |
— |
mathematics |
|
The index antisymmetrization of the papers, \(T^{[a_1\dots a_n]}=\frac1{n!}\sum_\sigma\operatorname{sgn}(\sigma)\,T^{a_{\sigma(1)}\dots a_{\sigma(n)}}\), on frame component expressions. Indices are renamed simultaneously, so no clashes occur. |
|
research interface, frame/coframe, (anti)symmetrization |
— |
mathematics |
|
Determines which node families occur in the expressions (Cartan operators, Nambu \(\sharp\)’s, multivector interior products, \(\wedge\), evaluations…), assembles the engine with only the needed rules, and reports the result. Mathematical rules defined here: \(0\cdot x=0\) (also in operator slots), canonical ordering by \(\alpha\wedge\beta=(-1)^{\lvert\alpha\rvert\lvert\beta\rvert}\beta\wedge\alpha\) (only for concrete degrees) and \((f\alpha)\wedge\beta=f(\alpha\wedge\beta)\). A Poisson / fundamental identity declaration is never inferred; it is given explicitly. |
|
research interface, rewrite rule, wedge product, Koszul sign |
— |
partial |
|
No mathematics (registration system). Node families, family rules and structure kinds can be registered without editing the library. The rule order is kept explicit, since it is part of the engine’s behavior. |
|
research interface |
— |
infrastructure |
|
Registration of Nambu–Poisson structures (\(p=1\): Poisson) for engine assembly: the |
|
research interface, Nambu–Poisson, tilde calculus, Koszul bracket |
— |
partial |
|
No mathematics. The protocol “a structure is the authority on its own rules”: each structure declares its own rules and which of them are assumptions. |
|
research interface, assumption/declaration |
— |
infrastructure |
jacopy/proof/¶
This folder contains the tools for the notion of proof. An equality claim \(\text{lhs}=\text{rhs}\) is brought to normal form by applying rules (definition/axiom/theorem) step by step; each step is recorded as “before → after”. The axioms and hypotheses relied on, the structure (algebroid, Poisson structure…) they belong to, and the generality level of the result (every degree, or the \(p=2\) instance) are tracked separately. The principles of mathematical proof are here too: “two derivations that agree on generators are equal”, “the derived bracket theorem”, the use of theorems by citation, and alternative rule orders in proof search. A residual is never counted as a refutation.
Tip
Where to look
How is an equality proved (general entry point)? →
proof/verifier.py(show_equal,prove_jacobi)The principle “derivations that agree on generators are equal”? →
proof/strategies.py(AgreementOnGenerators)Jacobi via the derived bracket theorem? →
proof/strategies.py(DerivedBracketStrategy)Recording a proved theorem and using it in another proof (citation)? →
proof/theorems.pyWhich assumptions does the result rest on? →
proof/result.py(requires),proof/registry_facts.py,proof/ownership.pyThe engine that applies definition/axiom rules? →
proof/expansion.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Re-exports the proof layer. |
— |
— |
— |
infrastructure |
|
A single step of a proof: before → after, the rule applied and the justification. Sub-proofs can be nested. The role of the step (definition / assumption / theorem), the structure that owns it, and its literature source are stored with the step. |
|
proof chain, citation/bibliography |
— |
partial |
|
No mathematics. Proof transcript, the ordered list of steps. |
|
proof chain |
— |
infrastructure |
|
Definition expansion engine: |
|
rewrite rule, assumption/declaration, linearity |
— |
mathematics |
|
Common normalization loop: definition expansion → graded product rule → algebraic simplification, up to a fixed point. The reason for stopping is reported: fixed point, round budget, step budget, or goal. |
|
normal form/simplification |
— |
partial |
|
Proof strategies. ExpandAndSimplify: the obstruction \(\text{lhs}-\text{rhs}\) is expanded, simplified, and checked for 0. AgreementOnGenerators: if two graded derivations of the same degree agree on a set of generators, they are equal everywhere (derivations are determined by generators). DerivedBracketStrategy: given the preconditions \([Q,Q]=0\), it reduces the cyclic Jacobi to \([Q,Q]_{\text{base}}\). UnrollToFoundations: unrolls theorems down to the axioms. Portfolio: tries them in order. |
|
proof chain, derived bracket, Jacobi identity, Leibniz rule |
— |
mathematics |
|
Proof search in the rewrite state graph. Nodes are expressions, edges are single moves. A bounded BFS runs, switching to beam search if the budget is exceeded. Among the proofs found, one is selected by the criteria “shortest”, “most readable (smallest intermediate expression)” and “most elementary (fewest theorem citations)”. |
|
proof chain, rewrite rule |
— |
partial |
|
Theorem book: a proved equation (\(\text{lhs}=\text{rhs}\)) is stored together with its proof, generality tag and requirements. Generality tags: operator level (all degrees), on a generic function, symbolic \(p\), single instance (e.g. \(p=2\)). Citing a proved theorem feeds it into the engine as a derived rule (\(\text{lhs}\to\text{rhs}\)). A theorem can be cited only if the engine’s structures satisfy the theorem’s hypotheses. |
|
theorem builder, proof chain, assumption/declaration |
— |
mathematics |
|
Model of a proof result. States: CLOSED (the two sides met), RESIDUAL (a difference remained at the fixed point, not a refutation), BUDGET, INVALID (ill-typed goal, e.g. 1-form = 2-form). There is deliberately no “DISPROVED” state. The assumptions the result rests on (declared axiom instances, structures, requirements of cited theorems, registry answers) are derived from the chain. |
|
proof chain, assumption/declaration |
— |
partial |
|
Records the structure to which rules, theorems, and steps belong. Since two structures with the same name (two different algebroids both called \(E\)) may carry different axioms, a theorem proved for one structure is prevented from being used in another. Substructure relation: theorems of the structure with fewer axioms hold in the structure with more axioms, but not conversely. |
|
assumption/declaration |
— |
partial |
|
Records the answers given by the registry (”\(x\) is a scalar”, “the degree of \(p\) is 0”) as hypotheses of the proof. A theorem can be cited only in a context where these answers are the same. |
|
assumption/declaration |
— |
partial |
|
Connectedness check of a proof chain: the “before” of each step must be the “after” of the previous one, and the chain must run from one claimed side to the other. It does not recompute the correctness of the rules, it only replays the shape of the chain. It flags steps not produced by the library (hand-made). |
|
proof chain |
— |
partial |
|
Shape recognition only: the form \([A,B]\), \(D(a\,b\cdots)\) (Leibniz left-hand side), an antisymmetry claim. Performs no rewriting. |
|
Leibniz rule, graded algebra |
— |
partial |
|
No mathematics (diagnostics framework). Scans the residual of a proof that does not close and produces hints about which rule is missing. |
|
proof chain |
— |
infrastructure |
|
Diagnostic rules; each catches cases where the corresponding mathematical identity was not applied. For odd-degree \(D\), if \(D(D(x))\) remains, \(D^2=0\) was not applied; if \(D(0)\) remains, the zero was not eliminated; \((-D)(x)=-D(x)\); if \(\iota_V(df)\) remains, it was not reduced to \(V(f)\); if a bare symbol is used instead of a vector field; if there is a factor of unknown degree. |
|
d²=0, interior product ι, exterior derivative d |
— |
partial |
|
General proof API. |
|
proof chain, Jacobi identity, derived bracket |
— |
partial |
jacopy/display/¶
This folder contains the display of expressions, proof transcripts and theorems: plain text, LaTeX, Jupyter, and colored terminal. It performs no mathematical computation, but latex.py carries the library’s notation conventions (\(\iota_X\), \(\tilde\iota_\alpha\), \(\mathcal L_X\), \(\tilde{\mathcal L}\), \(\nabla\), \(\langle\alpha,X\rangle\), \([\cdot,\cdot]\), \(\star\), \(\sum\), \(\wedge\), \(\otimes\) …).
Tip
Where to look
LaTeX rendering of an expression? →
display/latex.py(to_latex)LaTeX/PDF document of a proof? →
display/latex.py(chain_to_latex_document)Which symbol is used to write \(\iota_X\), \(\mathcal L_X\), \(\nabla\)? →
display/latex.py(registered handlers)Proof tree in Jupyter? →
display/jupyter.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Exports the display functions. |
— |
LaTeX/display |
— |
infrastructure |
|
No mathematics. Plain-text output; performs the sign correction \(a+(-b)\to a-b\), inserts precedence parentheses, and adds source citations. |
|
LaTeX/display, citation/bibliography |
— |
infrastructure |
|
No mathematics; node type → LaTeX notation mapping. Examples: |
|
LaTeX/display, citation/bibliography |
— |
infrastructure |
|
No mathematics. |
|
LaTeX/display |
— |
infrastructure |
|
No mathematics. Colored tree output with the |
|
LaTeX/display, citation/bibliography |
— |
infrastructure |
jacopy/oracle/¶
This folder contains a numerical falsifier independent of the engine. When the engine closes an equality, both sides are evaluated in random concrete coordinate models and compared. Models: polynomial functions with \(\mathbb Q\) coefficients on \(\mathbb R^n\), vector fields, forms, multivectors; Poisson bivectors; algebroids \(E=\mathbb R^n\times\mathbb R^r\). The library’s definitions are rewritten here in coordinates: Palais \(d\), interior product into the first slot, Schouten, Koszul, \(\tilde d\), Nambu \(\sharp\)… An “AGREE” result is not a proof; it only means “not refuted in N models”. The models also check numerically that they satisfy the axioms they claim.
Tip
Where to look
Numerical testing of an equality? →
oracle/check.py(check_equal,check_chain)Coordinate formulas for \(d\), \(\iota\), \(\mathcal L\), Schouten, Koszul? →
oracle/values.pyAlgebroid models and which axioms they satisfy? →
oracle/models/algebroid.pyPoisson bivector models? →
oracle/models/tangent.pyConcrete computation of \(d_E\) (Palais), Jacobiator, Derivator, Predator? →
oracle/realize_e.pyTesting that an unused assumption is really unnecessary? →
oracle/select.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Lazy loading for |
— |
model oracle |
— |
infrastructure |
|
Coordinate computation on \(\mathbb R^n\). Forms and multivectors are written as \(\sum_I c_I\,dx^{I}\) with increasing indices. Evaluation uses the determinant convention (no \(1/p!\)), and \(\iota\) inserts into the first slot. Operations defined: \(d(c\,dx^I)=dc\wedge dx^I\), \([X,Y]=XY-YX\); the Lie derivative is deliberately computed not by \(d\iota+\iota d\) but by the defining formula (\((\mathcal L_X\omega)(Y\dots)=X(\omega(Y\dots))-\sum\omega(\dots[X,Y_i]\dots)\)), so that the Cartan formula can genuinely be tested; Schouten–Nijenhuis, \(\pi^\sharp\), the Koszul bracket, \(\tilde d\) and \(\tilde{\mathcal L}\) of the cotangent algebroid, Nambu \(\sharp\), \(E\)-forms, \(\wedge\) via shuffles. |
|
model oracle, vector field, differential form, multivector, wedge product, interior product ι, exterior derivative d, Lie derivative L, Lie bracket, Schouten–Nijenhuis bracket, Poisson structure, Koszul bracket, tilde calculus, cotangent algebroid, Nambu–Poisson |
— |
mathematics |
|
Translates the expression tree into concrete model values. The two meanings of |
|
model oracle, Hamiltonian vector field, Poisson bracket, Koszul bracket, Nambu–Poisson |
— |
mathematics |
|
Concrete interpretation of algebroid nodes. \(d_E\) by the ordered Palais formula: \(d\omega(X_0..X_p)=\sum_i(-1)^i\rho(X_i)\omega(..\hat X_i..)+\sum_{i<j}(-1)^{i+j}\omega([X_i,X_j],..)\); defined even if the bracket is not antisymmetric, but alternating only in an antisymmetric model. \(\mathcal L^E_u f=\rho(u)f\), \(\mathcal L_u v=[u,v]_E\). \(\iota_u\) inserts into the first slot. It also covers the Jacobiator, the Derivator, the Predator, anholonomy, the locality tensor, frames/coframes, and indexed sums. |
|
model oracle, anchor ρ, exterior derivative d, Lie derivative L, interior product ι, Jacobiator, frame/coframe, metric, locality operator L |
— |
mathematics |
|
No mathematics (package definition, 2 lines). |
— |
model oracle |
— |
infrastructure |
|
Tangent model: \(M=\mathbb R^n\), each atom is assigned seed-determined random polynomial data. Poisson families: planar, so(3)* Lie–Poisson × a Casimir function (\(C=\lvert x\rvert^2\)), for \(n\ge4\) the product of two planar structures. Counter-model: a generic quadratic bivector, for which \([\pi,\pi]_{SN}\neq0\) is verified. |
|
model oracle, Poisson structure, Schouten–Nijenhuis bracket |
— |
mathematics |
|
Algebroid models \(E=\mathbb R^n\times\mathbb R^r\). The bracket has the form \([u,v]^c=u^a\rho_a(v^c)-\lambda v^b\rho_b(u^c)+C^c_{ab}u^av^b+S(u,v)\); it is transported by a random unipotent bundle automorphism. There are 16 families (Lie \(TM\oplus\mathbb R\), so(3) action algebroid, Dorfman/Courant, LWX, pre-Leibniz, …); each satisfies certain axioms (RL, LL, AM, J, AS, SP, MI) and is numerically verified to violate the others. |
|
model oracle, Lie algebroid, almost-Lie algebroid, Courant algebroid, Dorfman bracket, Courant bracket, anchor ρ, frame/coframe, metric, H-flux, locality operator L |
— |
mathematics |
|
Decides which models to select. Each algebroid in the equation is given families that satisfy its declared axioms and violate as many other axioms as possible. Violations are chosen by weighted greedy covering. “Assumption leak” test: the proved identity must still hold in a counter-model that violates an axiom the proof did not use. For free indices all assignments are tried. |
|
model oracle, assumption/declaration |
— |
mathematics |
|
Comparison logic. Dimension \(n=\max(3,D+1)\), \(D\) the largest exterior degree over all subnodes; otherwise a high-degree object would vanish identically and false identities would pass. Symbolic degrees are tried in the range \(0..k+2\) (\(k\): number of degree-lowering operations). Operators are compared on a full test basis; if their domains differ, the operators are counted as different. |
|
model oracle |
— |
mathematics |
|
No mathematics. Hooks into the engine’s closing point; the |
|
model oracle |
— |
infrastructure |
|
No mathematics. Verdict kinds (AGREE = “not refuted”, DISAGREE, ASSUMPTION_LEAK, UNSUPPORTED…) and witness models. |
|
model oracle |
— |
infrastructure |
jacopy/ (root files)¶
The package’s entry point and the bibliography table. The mathematical objects themselves are not defined here. The root __init__ orders the layers (core → algebra → algorithms → brackets → proof → display → central → packages → research) and exposes the stable API. bibliography.py holds the bibliographic records of the papers on which the rules and theorems rest.
Tip
Where to look
Where is the bibliographic record of the paper a rule rests on? →
bibliography.py(BIBLIOGRAPHY,cite)Which stable names does the package export? →
jacopy/__init__.py(__all__)How are two objects with the same name (
Zero,normalize,prove,cite) told apart? → the docstring ofjacopy/__init__.py
File |
Mathematical content |
Key items → mathematical counterpart |
Concepts |
Source |
Type |
|---|---|---|---|---|---|
|
No mathematics. Loads the core expression classes immediately and the other names on first use (lazily). Its docstring explains the cases where two different objects share a name (e.g. the |
|
— |
— |
infrastructure |
|
Produces, in APA 7 format, the literature sources of rules, theorems and proof steps. The registered works include Uchino 2002; Liu–Weinstein–Xu 1997; Roytenberg 1999; Grabowski–Marmo 2001; Kosmann-Schwarzbach 2004 (“Derived brackets”); Dereli–Doğan 2020/2023; Çatal-Özer–Dereli–Doğan 2022; Çatal-Özer–Doğan–Yetişmişoğlu 2024/2025; Asakawa et al. 2015; Ševera 2017. |
|
citation/bibliography |
— |
infrastructure |
Appendix: open points¶
Points noticed while compiling this table that are not yet resolved:
The Predator is used with two signs. In
jacopy/central/algebroid/operators.py, \(P_\Phi(u,v)=\Phi[u,v]-[\Phi u,\Phi v]\); injacopy/central/algebroid/defect_formulas.py, the defect is defined with the opposite sign, following the convention of TW Appendix A. The code is internally consistent; when reading, note which file you are in.Rules for \(\iota_X\). The antiderivation law \(\iota_X(\alpha\wedge\beta)=\iota_X\alpha\wedge\beta+(-1)^{|\alpha|}\alpha\wedge\iota_X\beta\) and \(\iota_X^2=0\) in the docstring of
jacopy/central/objects/interior.pyare not applied as rules in that file, only stated; which general pass applies them was not traced.Leibniz rule of the connection. The docstring of
jacopy/central/objects/connection.pysays “the Leibniz rule is not yet invoked by the engine”, whereasjacopy/central/tangent/definitions.pyprovesprove_covariant_leibniz. The two files may refer to different engine layers; the contradiction was not checked.Sign of \(dH\) in
twisted_courant.py. The module docstring ofjacopy/packages/generalized/twisted_courant.pywrites the [C’1] defect as \(-\iota_W\iota_V\iota_U\,dH\), the docstring ofprove_twisted_jacobi_dh_defectas \(+\iota_W\iota_V\iota_U\,dH\) (same orientation of the Jacobiator). The table uses the function docstring; which one the code proves was not verified by running it.E6 paper numbers. The “E6 paper” (4.10)–(4.15) citations refer to a source whose bibliographic data has not yet been identified; they cannot be checked. Files in which they occur:
jacopy/research/block_matrix.py(the file itself says “unidentified, unverified”),jacopy/central/objects/multivector_interior.py,jacopy/packages/drinfeld/examples.py,jacopy/packages/generalized/exceptional_double.py,jacopy/packages/generalized/exceptional_rotation.py,jacopy/packages/generalized/frame_evaluation.py.