jacopy.proof.strategies.Strategy

class jacopy.proof.strategies.Strategy

Bases: ABC

Abstract base for equality proof strategies.

__init__()

Methods

__init__()

prove(lhs, rhs, *[, registry, engine])

Produce a ProofChain witnessing lhs == rhs.

Attributes

name

abstractmethod prove(lhs, rhs, *, registry=None, engine=None)

Produce a ProofChain witnessing lhs == rhs.

Raises ProofFailure if the strategy cannot close the gap. Implementations may ignore either registry or engine depending on how they work.

Parameters:
Return type:

ProofChain