def left

stelliferous@0.0.2.0 · proofs/boolean_logic.bend:21

import stelliferous@0.0.2.0/proofs/boolean_logic.bend as BooleanLogic
import Base
import stelliferous@0.0.2.0/proofs/word_encoding.bend as WordEncoding

21def left(+first: Bool,+second: Bool,truth: {Bool.and(first,second) == True{} : Bool}) -> {first == True{} : Bool}:
22  match first:
23    case False{}: Empty.absurd({False{} == True{} : Bool},WordEncoding.false_true(truth))
24    case True{}: {==}

Uses (4)

Used by (2)