def right
import stelliferous@0.0.2.0/proofs/boolean_logic.bend as BooleanLogicimport Base
import stelliferous@0.0.2.0/proofs/word_encoding.bend as WordEncoding
26def right(+first: Bool,+second: Bool,truth: {Bool.and(first,second) == True{} : Bool}) -> {second == True{} : Bool}:
27 match first:
28 case False{}: Empty.absurd({second == True{} : Bool},WordEncoding.false_true(truth))
29 case True{}: truth