# Rigorous C = sup_{00), # so the sup over the gap is the left limit at p_{i+1}; on (0,2) theta=0 and value sqrt(y)best.upper(): best=v; arg=p th+=arb(p).log() m=(arb(p)-th)/arb(p).sqrt() # value at p (min on gap) mn = m if mn is None or m.lower()