jacopy.packages.poisson.SymplecticClosedDeclaration¶
- class jacopy.packages.poisson.SymplecticClosedDeclaration(structure)¶
Bases:
Definitiondω → 0— the DECLARED closedness of the symplectic form (node form and evaluated head form).- Parameters:
structure (SymplecticStructure)
- __init__(structure)¶
- Parameters:
structure (SymplecticStructure)
- Return type:
None
Methods
__init__(structure)matches(expr)True when
expris 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
the Expr class (or tuple of classes) this definition's LHS is rooted at.
identityStructural IDENTITY of the rule:
Noneby default — the rule is never deduplicated by identity and itskeyfalls back to(class name, display name).is_theoremTrue when this definition carries a sub-proof builder.
keyidentitywhen given, else(class name, display name).nameownerthe algebroid of a declared axiom, the theorem's owner for a cited theorem, …
Nonefor structure-free rules."definition"— a definitional unfolding or a structural law (no assumption);"assumption"— a DECLARED axiom of a structure (the*Declarationrules), i.e. a hypothesis the proof depends on;"theorem"— a cited proven result.unverifiedExplicitly-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*Declarationrules), i.e. a hypothesis the proof depends on;"theorem"— a cited proven result.ProofResult.from_chainreads 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
- 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.
Nonekeeps the rule in the always-consulted fallback list.- Type:
Optional dispatch anchor
- matches(expr)¶
True when
expris an instance of this definition’s LHS.