Logic.bool_cases: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend as Logic Lines 48-53 of bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend&start_line=48&end_line=53 import Base def bool_cases(b: Bool) -> Or({b == True{} : Bool}, {b == False{} : Bool}): match b: case True{}: Inl{{==}} case False{}: Inr{{==}} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Either https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Or