def h.at1_put.t
bend-kit-collections@0.1.4.1 · PROOF.bend:1988
import bend-kit-collections@0.1.4.1/PROOF.bend as PROOF
import Base
import bend-mathlib@0.7.4.0/bool.bend as MBool
1988def h.at1_put.t(q: Nat, b: Bool, t2: Word(q), e: {h.isz(1n+q, WCon{b, t2}) == True{} : Bool})
1989 -> {h.isz(q, Word.shl.put(q, b, t2)) == True{} : Bool}:
1990 match b:
1991 case True{}:
1992 Empty.absurd({h.isz(q, Word.shl.put(q, True{}, t2)) == True{} : Bool}, MBool.false_ne_true()(e))
1993 case False{}:
1994 h.isz_put(q, t2, e)