If pi exists, it is transcendental, which means it is an uncompressible sequence of digits when expressed in some base. Essentially it's noise that goes on for eternity. Just by naming the value does not mean it can then be used symbolically as you have essentially you made the mistake of believing you can compress an uncompressible entity.
Since it is well known that reality is made up purely of transcendental numbers and that computers are symbolic algebraic machines, any computer algorithm can not touch reality.