static Pair pairToLower(Pair p) { ret p == null ? null : pair(lower(p.a), lower(p.b)); }