jacopy.packages.drinfeld.TwistedFIDeclaration

class jacopy.packages.drinfeld.TwistedFIDeclaration(structure, H)

Bases: Definition

DECLARED H-twisted fundamental identity (the twisted-Poisson condition R′ = 0 of TW (7.25) with H; it is NOT the bosonic TW (3.11) — see the dictionary comment above):

[Πω, Πη]_Lie → Π[ω,η]_Kos + Π( ι_{Πη} ι_{Πω} H ).

Opt-in; reduces to NambuMorphismDeclaration at H = 0.

Parameters:

H (Expr)

__init__(structure, H)
Parameters:

H (Expr)

Return type:

None

Methods

__init__(structure, H)

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.

source

a jacopy.bibliography.Citation — or a tuple of them — built with jacopy.bibliography.cite(), e.g. cite("Uchino2002", "Section 1, axiom [C5]").

unverified

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

role = 'assumption'

"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. ProofResult.from_chain reads it from the fired steps; a step whose rule recorded no role is kept as a LEGACY assumption, never dropped.

Type:

What the rule IS, logically

source = Citation(key='CatalOzerDoganYetismisoglu2025', locator='Eq. (7.25)', note='R′ = 0 with the H(Πω, Πη) term: the twisted-Poisson FI')

a jacopy.bibliography.Citation — or a tuple of them — built with jacopy.bibliography.cite(), e.g. cite("Uchino2002", "Section 1, axiom [C5]"). The engine copies it onto every ProofStep the rule produces and the display layer prints it; no matching, rewriting or classification reads it. None: the rule names no source.

Type:

Literature source of the rule (metadata only)

anchor = None

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