def depth_to.up
import bolt@1.27.0.0/src/syntax/tree.bend as Treeimport Base
189# one more group above the one found below, when one was
190def depth_to.up(below: Nat) -> Nat:
191 match below:
192 case Zero{}:
193 0n
194 case Succ{p}:
195 Succ{Succ{p}}