jacopy.central.algebroid.Algebroid

class jacopy.central.algebroid.Algebroid(name, bundle, *, anchor_name="ρ", declare=())

Bases: object

The algebroid context (E, ρ, [·,·]_E).

A context object (like Bundle/Frame/Connection, not an Expr). At this layer it carries only the definitional structure: sections, the anchor, the ℝ-bilinear bracket, the induced action u(f) := ρ(u)(f) and the coboundary D. The property hierarchy (almost-Leibniz → … → Courant) is declared per instance.

Parameters:
  • name (str) – Identity of the algebroid (used in displays: [u,v]_E).

  • bundle (Bundle) – The underlying vector bundle E.

  • anchor_name (str) – Display name of the anchor ("ρ").

__init__(name, bundle, *, anchor_name="ρ", declare=())
Parameters:
Return type:

None

Methods

D(f)

The coboundary Df (D = ρ* ∘ d); the usual df on the tangent algebroid.

__init__(name, bundle, *[, anchor_name, declare])

act(u, f)

u(f) := ρ(u)(f) — the anchored action (the general form of the action in vector_field).

anchor(u)

ρ(u) — the acting vector field of the section u.

bracket(u, v)

[u, v]_E — the Lie bracket on the tangent algebroid, the opaque AlgebroidBracket otherwise.

declares(prop)

engine_rules([registry, phase])

The rules THIS algebroid contributes to an engine, all owned by it: phase "declared" — the rules licensed by its declarations; phase "coboundary" — the coboundary pairing/linearity definitions; phase "expansion" — the Jacobiator / derivator / predator definitional expansions.

metric(u, v)

g(u, v) — the fibre E-metric evaluated on two sections (a scalar function).

sections(names)

Sections of E (paper convention: u v w).

sharp(form)

g⁻¹(ω) — the inverse-metric image of an E-1-form, a section (well-defined by non-degeneracy).

with_declarations(*declare)

A copy of this context with additional declarations.

Attributes

anchor_name

bundle

declarations

levels expanded).

is_tangent

The E = TM, ρ = id, [·,·] = Lie reduction.

name

property declarations: frozenset

levels expanded).

Type:

The declared axiom set (normalized

with_declarations(*declare)

A copy of this context with additional declarations.

Return type:

Algebroid

property is_tangent: bool

The E = TM, ρ = id, [·,·] = Lie reduction.

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

The rules THIS algebroid contributes to an engine, all owned by it: phase "declared" — the rules licensed by its declarations; phase "coboundary" — the coboundary pairing/linearity definitions; phase "expansion" — the Jacobiator / derivator / predator definitional expansions. Structure-free rules are the engine builder’s (algebroid_engine()).

sections(names)

Sections of E (paper convention: u v w).

Parameters:

names (str)

Return type:

Tuple[VectorField, …]

anchor(u)

ρ(u) — the acting vector field of the section u.

On the tangent algebroid the anchor is the identity map, so anchor(u) is u — the reduction is literal, not simulated.

Parameters:

u (Expr)

Return type:

Expr

bracket(u, v)

[u, v]_E — the Lie bracket on the tangent algebroid, the opaque AlgebroidBracket otherwise.

Parameters:
Return type:

Expr

act(u, f)

u(f) := ρ(u)(f) — the anchored action (the general form of the action in vector_field).

Parameters:
Return type:

Act

metric(u, v)

g(u, v) — the fibre E-metric evaluated on two sections (a scalar function). One canonical metric g per context; symmetric and non-degenerate BY DEFINITION [MC Def 3.1].

Parameters:
Return type:

EMetric

sharp(form)

g⁻¹(ω) — the inverse-metric image of an E-1-form, a section (well-defined by non-degeneracy).

Parameters:

form (Expr)

Return type:

MetricSharp

D(f)

The coboundary Df (D = ρ* ∘ d); the usual df on the tangent algebroid.

Parameters:

f (Expr)

Return type:

Expr