jacopy.packages.poisson.PoissonStructure

class jacopy.packages.poisson.PoissonStructure(pi, *, declare=())

Bases: object

(M, π) — a Poisson structure context.

The bivector is the data; [π, π]_SN = 0 is the structure’s axiom, entering proofs ONLY through the poisson declaration (poisson_engine(structures=(P,))).

Parameters:

pi (PVector)

__init__(pi, *, declare=())
Parameters:

pi (PVector)

Return type:

None

Methods

__init__(pi, *[, declare])

bracket(f, g)

{f, g}.

declares(key)

engine_rules([registry, phase])

The rules THIS structure contributes, owned by it and keyed by (class, π): phase "declared" — the [π,π]_SN = 0 declaration ONLY when "poisson" is declared; phase "definitional" — bracket, Hamiltonian, sharp evaluation and sharp action.

hamiltonian(f)

X_f.

sharp()

π♯ — the musical operator atom (form-level use).

sharp_vf(alpha)

π♯(α) as a genuine vector field (the anchor of the cotangent algebroid).

with_declarations(*declare)

The same structure with additional declared axioms.

Attributes

declarations

name

The tree-visible name of the structure (its bivector).

pi

property name: str

The tree-visible name of the structure (its bivector).

with_declarations(*declare)

The same structure with additional declared axioms.

Parameters:

declare (str)

Return type:

PoissonStructure

engine_rules(registry=None, *, phase=None)

The rules THIS structure contributes, owned by it and keyed by (class, π): phase "declared" — the [π,π]_SN = 0 declaration ONLY when "poisson" is declared; phase "definitional" — bracket, Hamiltonian, sharp evaluation and sharp action.

bracket(f, g)

{f, g}.

Parameters:
Return type:

PoissonBracketValue

hamiltonian(f)

X_f.

Parameters:

f (Expr)

Return type:

HamiltonianVF

sharp()

π♯ — the musical operator atom (form-level use).

Return type:

Sharp

sharp_vf(alpha)

π♯(α) as a genuine vector field (the anchor of the cotangent algebroid).

Parameters:

alpha (Expr)

Return type:

SharpVF