def below
import bend-ml-bpe-tokenizer@0.1.3.0/main.bend as BendMlBpeTokenizerimport Base
597# all ids in the rule list are smaller than i
598def below(D: List<&2, Rule>, +i: Nat) -> Bool:
599 match D:
600 case Nil{}:
601 True{}
602 case Con{Rule{+j, a, b}, t}:
603 Bool.and(Nat.is_lt(j, i), below(t, i))