def bool.and_r
import bend-osdev-caps@0.1.0.0/PROOF.bend as PROOFimport Base
61def bool.and_r(+x: Bool, +y: Bool) -> {Bool.and(x, y) == True{} : Bool} -> {y == True{} : Bool}:
62 match x:
63 case True{}:
64 h => h
65 case False{}:
66 h => bits.absurd(y, h)