When Gödel numbered statements, for instance modus ponens and connectives got their own numbers, does it matter which number each connective gets as long as they are different?
Sometimes I'm not sure if a statement is ¬($~A\to B$) or $~A\to ¬B$.
What is the Gödel number for ¬($~A\to B$) ("not modus ponens") e.g. saying for example "just because we change the interest rate doesn't mean that the trade deficit will narrow", or is it arbitrary as long as it is unique?
I read in a paper that implication has number 13. Is implication always number 13, regardless of which proof or formula we are working with?
Long Comment
There are many possible "numbering schema" but in any case, you have to take care of the details of the syntax.
For Gödel original numbering, see:
The symbol $\supset$ [i.e. $\to$] is an abbreviation, and thus for modus ponens we have:
"$\lnot$" is codified with $5$ while "$\lor$" is codified with $7$ and we need $11$ and $13$ for "(" and ")" respectively.
Having said that, $a$ will be codified by [if I've made no mistakes...]:
where I've abbreviated with $\#p$ the code for the formula $p$.