Suppose a Turing machine is fed all the basic axioms and it uses the mathematical inference to prove theorems then using these theorems it proves further theorems and so on. At every iteration it checks whether the "Newly" proven theorem is the twin prime conjecture (TPC) or not if yes, it terminates if not it goes on.
Please correct me if I am wrong .