AxiomFailure

Contents

AxiomFailure#

class discopy.testable.AxiomFailure(reason, equation)[source]#

Bases: discopy.utils.AxiomError

A law declared broken, raised when the bound axiom is called: the reason is the message and equation is the law evaluated on the arguments, whose sides say how it failed.

Parameters:

reason (str)