How to express I2=log(sum(inv_pos()))

I understand, it has been converted, thank you very much for your guidance!!!