Could you name one pope (before VII of course) that wrote heretical ideas in an official papal document?
No. This is a first.