def and_true
import bend-ml-bpe-tokenizer@0.1.3.0/main.bend as BendMlBpeTokenizerimport Base
288def and_true(p: Bool, q: Bool, e: {True{} == Bool.and(p, q) : Bool}) -> {True{} == p : Bool} & {True{} == q : Bool}:
289 match p:
290 case True{}:
291 ({==}, e)
292 case False{}:
293 %e : BD(_, Unit, {True{} == False{} : Bool} & {True{} == q : Bool})
294 Unit{}
Uses (6)
Used by (0)
No other definition uses this definition.