If I do that, then it complains that the name should be provided
---> 16 π, _ = ae.scan(lambda t: tt.exp(pm.logcdf(pm.Lognormal(mu = μlog, sigma = σlog), t + 0.5)) - tt.exp(pm.logcdf(pm.Lognormal(mu = μlog, sigma = σlog), t - 0.5)),
17 sequences = [tt.arange(0, D + 1)])
TypeError: Distribution.__new__() missing 1 required positional argument: 'name'