jacopy.packages.poisson.SymplecticHamiltonianDefinition

class jacopy.packages.poisson.SymplecticHamiltonianDefinition(structure)

Bases: Definition

ι_{X_f} ω → df — the canonical definition of the symplectic Hamiltonian vector field, in both firing shapes:

  • the operator node Act(Interior(X_f), ω),

  • the evaluated 2-form ω(X_f, Y) → ⟨df, Y⟩ (and ω(Y, X_f) → −⟨df, Y⟩ by antisymmetry); with two Hamiltonian slots the FIRST fires (deterministic).

Parameters:

structure (SymplecticStructure)

__init__(structure)
Parameters:

structure (SymplecticStructure)

Return type:

None

Methods

__init__(structure)

matches(expr)

True when expr is an instance of this definition's LHS.

rewrite(expr)

Return the RHS.

theorem_proof_builder()

Return a callable producing this definition's sub-proof, or None.

Attributes

anchor

the Expr class (or tuple of classes) this definition's LHS is rooted at.

identity

Structural IDENTITY of the rule: None by default — the rule is never deduplicated by identity and its key falls back to (class name, display name).

is_theorem

True when this definition carries a sub-proof builder.

key

identity when given, else (class name, display name).

name

owner

the algebroid of a declared axiom, the theorem's owner for a cited theorem, … None for structure-free rules.

role

"definition" — a definitional unfolding or a structural law (no assumption); "assumption" — a DECLARED axiom of a structure (the *Declaration rules), i.e. a hypothesis the proof depends on; "theorem" — a cited proven result.

unverified

Explicitly-unverified citation (a TheoremBook record marked unverified): its steps are classified as legacy assumptions.

anchor = (<class 'jacopy.algebra.derivation.Act'>, <class 'jacopy.core.multi_eval.MultiEval'>)

the Expr class (or tuple of classes) this definition’s LHS is rooted at. When set, the engine only consults the rule on nodes of that type (via an MRO-indexed lookup) instead of trying every rule at every node. None keeps the rule in the always-consulted fallback list.

Type:

Optional dispatch anchor

matches(expr)

True when expr is an instance of this definition’s LHS.

Parameters:

expr (Expr)

Return type:

bool

rewrite(expr)

Return the RHS. Caller guarantees matches(expr) is True.

Parameters:

expr (Expr)

Return type:

Expr