def ok_head
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/phc.bend as Phcimport Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L
23def ok_head(+x: U32, +r: List<&2, U32>, +h: {ok(x <> r) == True{} : Bool}) -> {Nat.is_lt(U32.to_nat(x), 256n) == True{} : Bool}:
24 L.and_left(Nat.is_lt(U32.to_nat(x), 256n), ok(r), h)