jacopy.brackets.VanishingCondition

class jacopy.brackets.VanishingCondition(obstruction, name='vanishing condition')

Bases: object

A proof-level claim of the form obstruction = 0.

A VanishingCondition is the typed handle the proof layer consumes when a construction’s correctness rests on a single equation. DerivedBracket.jacobi_condition() returns one whose obstruction is [Q, Q]_base: under the Derived Bracket Theorem’s preconditions (graded-Lie base, odd shifted generator — plus per-slot skewness for the cyclic Lie form) its vanishing is the remaining hypothesis for Jacobi on {·, ·}_Q, so passing the condition around is passing that hypothesis.

The class is intentionally minimal, it is data, not a proof tactic. holds() runs simplify() against the obstruction and reports whether the canonical form is the literal Integer 0. Symbolic residues that the canonical pipeline can’t settle return False even if the underlying math would eventually close them; the expectation is that the proof layer (e.g. jacopy.proof.strategies.DerivedBracketStrategy) is the right tool for non-trivial discharges.

Parameters:
__init__(obstruction, name='vanishing condition')
Parameters:
Return type:

None

Methods

__init__(obstruction[, name])

holds([registry])

True iff the obstruction simplifies to Integer 0.

Attributes

name

obstruction

holds(registry=None)

True iff the obstruction simplifies to Integer 0.

Parameters:

registry (PropertyRegistry | None)

Return type:

bool