Documentation

RoleFlow.Flow.Swap

The swaps of the flow signature #

add is the swappable operation (Swap): add(a, b) consumes a, and add(b, a) consumes b. It commutes with log-weight 0, so the flow model is lawful for the front end.

def RoleFlow.Flow.isAdd {as bs : List FS} :
FOp as bs → Bool

add (not sub).

Equations
Instances For
    @[implicit_reducible]
    Equations
    • One or more equations did not get rendered due to their size.

    add commutes, and its log-weight is 0.