We can define a Dyson Sphere in math.
We cannot build one.
AI outputting axiomatically valid syntax isn't going to be all that useful. It's possible to generate all axiomatically correct math with a for loop until the machine OOMs
Physics is not math and math is not physics.