Changelog¶
All notable changes to JacoPy are recorded here. The format follows
Keep a Changelog, and the
project uses PEP 440 version
numbers. The version is defined once, in jacopy/__init__.py
(__version__).
Finding labels such as P0-1 or M1X-5 refer to an independent audit
of commit 0b00e1b (2026-09-30).
[Unreleased]¶
[0.1.0] - 2026-10-14¶
The first public release. It contains every change below since the
internal version 0.0.1.
Changed: public release¶
License: JacoPy is now distributed under the BSD 3-Clause License (
LICENSE, SPDXBSD-3-Clauseinpyproject.tomlandCITATION.cff). The earlier source-available terms no longer apply.Version:
0.0.1becomes0.1.0, the first public release (published on PyPI). The version string is the only release number; internal codenames do not appear in it.Repository: renamed to
oselcukk/JacoPy(https://github.com/oselcukk/JacoPy); the project URLs inpyproject.tomlandCITATION.cfffollow the new name.Documentation: a public documentation site (https://oselcukk.github.io/JacoPy/) with installation notes, tutorials, how-to guides, explanations, an API reference and development pages.
docs/TESTING.mdmoved todocs/development/testing.mdanddocs/CITATIONS.mdtodocs/development/citations.md.Sources: comments, docstrings, documentation and test names are in English only.
Project files for contributors:
CONTRIBUTING.md,CODE_OF_CONDUCT.md(Contributor Covenant 2.1),SECURITY.md, issue forms, a pull request template, Dependabot configuration and a release workflow that publishes to PyPI through trusted publishing.
Display polish (fix/display-polish), 2026-10-02¶
Rendering and documentation only; no rule, role, tag or proof changes.
LaTeX: Greek letter names spelled in ASCII render as commands, as whole words —
forms("omega")→\omega,omega_1→\omega_1,alpha_ij→\alpha_{ij},Pi→\Pi;omegaxand the Latin-looking capitals (Alpha,Eta,Mu) stay as written. The ASCII renderer keeps the name as typed.Step labels follow the role, in the terms
ProofResultcounts them with:(definition)/(assumption)/(theorem)(and(axiom)only for a step that records no role), in the ASCII, terminal, LaTeX, TikZ and Jupyter renderers and inProofStep.format; engine justifications readapply definition: …/apply assumption: …. New:ProofStep.classification,jacopy.proof.step.classification_label. Before,print_chainlabelled definition steps(axiom) … apply axiomwhileProofResultcalled the proof assumption-free.APA 7 in-text citations: one author–date–locator item per cited place, items separated by semicolons; only locator-free works of the same authors join years. The “Sub-steps cite” row of the anchor-morphism document read
…, 2022, Definition 4.1, Eq. [4.4], Definition 4.1, 2025, Eq. [3.20]; …and now reads…, 2022, Definition 4.1, Eq. [4.4]; Çatal-Özer et al., 2025, Eq. [3.20]; …. A locator subsumed by a more specific one of the same work is dropped (bibliography.work_locators); biblatex\parencitesemit one entry per place.bibliography.in_text/apa_referenceacceptstyle="apa"(alias of"plain": the style selects markup, the format is always APA 7); an unknown style raisesValueErrornamingTEXT_STYLES.central/tangent/cartan_rules.pydocstrings: the four rules have roledefinition(as intests/rule_roles_inventory.json); three are theorem-tagged because they carry a sub-proof builder. They were described as “THEOREM-classified”.Docs:
docs/explanation/architecture.md(measured numbers, notebook smoke 4/4, the deferredcalculus→tangentedge insidecentral, the oracle hook edges ofresearch/axiom_suite.pyandpoisson/koszul_jacobi.py, themetric_affine/rules.py,metric_affine/decomposition.pyandgeneralized/_cited_rule.pymodules),docs/development/testing.mdcounts, and thejacopydocstring’s layer order (display on top, as in the architecture map).Changed test expectations:
tests/test_display.py(the Cartan step is(definition)),tests/test_citations.py(two in-text strings, the C3/C5(assumption)label). New tests:tests/test_display_greek.py,tests/test_display_step_labels.py,tests/test_citation_places.py,tests/test_cartan_rules_docs.py.
Example notebooks run 4/4 (fix/notebooks, merged at 8b46a5d), 2026-10-02¶
Operator sums inherit alternation (M2-1 follow-up,
273e18b):admits_alternation(default reject since M2-1) did not certify an operatorSum/Negsuch as(L_U + L_Πω), which vector-slot linearity produces fromL_{U+Πω}; the enclosing alternatingMultiEvalwas rebuilt plain and DD (D.19) at p = 3 (Claim 6,bracket_twist_research_interface.ipynb§1.5) left a residual. An operator sum now inherits when every summand declares"inherit"; tensors, thedof a non-skew calculus and mixed sums stay rejected. D.19 at p = 3 closes again (913 steps); the wrong-sign variant does not (tests/test_audit_0b00e1b_notebooks.py).algebroid_declarations_demo.ipynbcites the anchor-morphism record explicitly withallow_legacy=True(M1-5,83ca05f): sinced1b807bthat record is requirements-derived but its chain does not replay, socite()refuses it otherwise. The notebook prints the record status and the citing result’s requirements, includingunreplayed; its outputs were re-executed in a clean kernel.
Documentation and test portability¶
README.mdrewritten in English: what jacopy is, installation with the extras, a quick start through the top-level surface, the packages and their status (planned items marked), proof trust and the oracle, licence and citation.docs/explanation/architecture.mdrewritten for the current tree: measured layer map with the 29 deferred upward imports listed (T2-2), the proof flow, the trust model (requirement kinds, minting, replay, default-reject citation, the Scalar contract), the model oracle, extension points (Definition,StructureKind) with runnable examples, the support levels and known limits.docs/development/testing.md: sympy is theoracleextra;--oracle,--oracle-report, theoracle_exemptandcontract_tablemarkers, the wheel run and the merge gate.docs/development/citations.md: file paths follow the renamed modules.The
jacopydocstring names thecite/provehomonyms.The fast suite runs from a sympy-free wheel (CI job
wheel): the module-level sympy import oftests/test_audit_0b00e1b_metric_affine.pymoved into the four tests that use it (pytest.importorskip), and the tests that call the oracle or need a repository file skip with a reason.CITATION.cffkeeps itsversion;tests/test_citation_metadata.pychecks that it equalsjacopy.__version__.The research-interface notebook uses
antisymmetrize_indices.
Unambiguous names, 2026-10-02¶
Module files that shared a basename were renamed; each old path is a compatibility alias that is the moved module:
metric_affine/koszul.py→metric_affine/metric_koszul.py,poisson/koszul.py→poisson/koszul_forms.py,central/tangent/engine.py→central/tangent/tangent_expansion.py,central/algebroid/engine.py→central/algebroid/algebroid_expansion.py,metric_affine/engine.py→metric_affine/metric_affine_expansion.py.A name that two different objects carried across subpackage
__all__lists has an unambiguous alias (same object) in the second package; the old name stays importable:research.ZeroOperator,research.antisymmetrize_indices,algorithms.rewrite_to_fixpoint,core.PropertyProvenance,central.tangent.prove_lie_jacobi,central.algebroid.prove_algebroid_*. The known collisions shrink from 11 to 2 (Metric/metric). The old names left their subpackage__all__lists, so a star import (from jacopy.core import *,jacopy.research,jacopy.central.tangent, …) no longer brings them; import them by name, or use the new aliases.Public names for private helpers used across packages and by the notebooks (same objects; the private names stay):
poisson.tilde.normalized_by,drinfeld.tilde_calculus.nambu_tilde_engine,central.objects.frame.frame_index_str,drinfeld.double.evaluate_on_slots,drinfeld.double.double_engine,poisson.showcase.is_exact_form,drinfeld.twist_engine,generalized.exceptional_rotation_engine,algorithms.normalize_alternating.structural_sort_key,proof.search.node_count. Private from-imports inside the library: 150 → 80 (across subpackages 74 → 28); the notebooks import no private name.jacopy.research.structure_kinds: the built-in families, family rules and kinds load before any user entry, whenever the user registers (a kind registered before first use no longer displaces Nambu–Poisson;first=Truestill puts a kind in front on purpose);families(),family_rules()andadditive_slot_tags()load the built-ins;register_family_ruleis idempotent for the same condition, builder, reason and order.
Architecture, merged 2026-10-02¶
Nine structure-free rule classes moved, byte-identical, into the central layer:
central.tangent.cartan_rules(MagicFormulaDefinition,LieIotaCommutatorDefinition,DSquaredZeroDefinition,DWedgeLeibnizDefinition) andcentral.calculus.slot_rules(PairingArgSplitDefinition,FormProductToWedgeDefinition,WedgeSumScalarDefinition,WedgeZeroNegDefinition,TrivialZeroSumDefinition). The old modules (drinfeld.twist,drinfeld.tilde_calculus,poisson.nambu) re-export the same class objects; no engine changes which rules it registers or in which order.assemble_engineandScanno longer name Nambu–Poisson. They read a registry injacopy.research.structure_kinds: node families (register_family), family rules (register_family_rule, explicit order) and structure kinds (StructureKind,register_structure_kind). The Nambu–Poisson kind lives injacopy.research.nambu_kind. A structure without a registered kind raises aTypeErrorthat namesregister_structure_kind.
Public surface and packaging¶
Top-level
jacopynow exposes a stable, documented surface (jacopy.__all__, 66 names): the expression classes, the object factories, the tangent operators, the proof entry points (show_equal,prove,ProofChain,ProofResult,Theorem, …) and the display helpers. Names beyond the expression classes load lazily, soimport jacopy.corecosts what it did before. The module docstring states four support levels and the canonical binding of shared names.Package facades aligned:
jacopy.packages.drinfeldnow covers all of its modules (twists, Roytenberg bracket, examples, tilde calculus, metric invariance, bracket morphisms);poisson,generalizedandmetric_affinegained their missing user-path entry points. Old deep import paths keep working.Removed the empty placeholder packages
jacopy.packages.algebroid_calculus(item 13 lives injacopy.packages.drinfeld) andjacopy.packages.research(item 15 lives injacopy.research).Packaging: single version source; extras match real use (
oracle= sympy replaces the unusedcomponents; the unusedparallel/joblib extra and the unused nbformat/nbclient pins are gone);py.typedmarker;[project.urls];requirements.txtreduced to-e .[dev]; this changelog andCITATION.cff.
Fixed — findings of an independent audit, merged 2026-09-30 … 2026-10-02¶
Metric-affine (P0-6 / M7-1, M7-2):
CoframeRecombinationDefinitionno longer fires at non-linear positions (it closed a false equality);ComponentInput.set_anholonomyno longer swallows data given in a non-canonical index order.Core product rule (P0-1 / K1-2, M1X-1; P0-2 / M1-3; K1-1 / M1X-5): the wedge Leibniz rule takes factor degrees, not the operator degree (sign on multivector factors); a degree-0 non-derivation operator is no longer treated as a multiplier;
collect_pairingskeeps non-scalar coefficients out of the pairing slot.Algebroid
d_E(P0-4 / M2-1, P0-5 / M2-2, M2-3, M7-1 root): no unconditional alternation ofd_Eon a non-antisymmetric bracket;LieDerivativeneeds a declared right Leibniz rule before using the product rule on sections; indexed-sum ordering.Integration (P0-5 / M2-2 end to end): non-derivation section values, the metric-affine registry,
ConnectionFormalternation,EndoFormkind.Proof trust (P0-3 / M1X-2, K2-16; M1-5 group / M1-6, K2-7, M1X-4; M1X-3 / K2-13, M1-8): a theorem record carries the registry declarations it relied on as requirements, so citing it in another context cannot close a false identity; follow-ups add registry read propagation,
end_readsby identity, the exactTheoremtype in classification, a single minting gate, structure records and a cheap__copy__.Rule matching (M1X-6 / K1-12, M1-4): payload-aware matching, cited theorem rules, LieZ Lemma 9.1, declaration gates and a narrow Σ-binder contract.
Citations (M8, M4-1, M4-2, T3-2 / K1-9): APA 7 rule sources (bibliography plus
Definition/Theoremsources on proof steps), LaTeX rendering fixes,docs/development/citations.md.Poisson (M3-1 / M3-2, M3-3): calculus-scoped TM rules (reserved Cartan-TM,
belongs_to) and the Koszul–Jacobi certificate with replayed seeds.Roadmap items (M7-4, M4-3): ADM Prop. 3.9 E-Cartan structure equations with
Q_abone-forms; Nambu double Jacobi via the twist (p = 1 form part);FISharpPairingSwapcalculus scope.Core contracts (K1-3 / K1-4, M1X-7; M1-1 / M1-2): Schouten and derived-bracket degree hooks; the “Scalar = R-constant” contract end to end (one predicate, specificity shadowing, raw-clash checks on every path,
f·Don one plain symbol, an independent oracle restatement). The AoG-domain cases are deferred to their own lane and kept as strict-xfail known bugs.
Added — model oracle¶
Model oracle F0 + F1 (audit K4-2 direction): a coordinate falsifier for engine closures, off by default (
jacopy.oracle).Oracle F2: algebroid model families with self-checked axiom separation, E-form realizers, counter-model selection and leak checks.
oracle_exempttest marker (reasoned, reported asEXEMPT) and a strict-oracle CI job that uploads its JSON report.