jacopy.brackets.expand_bracket¶
- jacopy.brackets.expand_bracket(node, registry=None)¶
Expand a single
BracketApplyvia its bracket’s rule.Matches the
jacopy.algebra.commutator.expand_commutator()pattern, a standalone function that the rewrite layer can plug in as a rule, plus aBracketApply.expand()convenience method.- Parameters:
node (BracketApply)
registry (PropertyRegistry | None)
- Return type: