Theoretical vs practical. Theoretical.... don't go there.
Practical. 35mm wire should be fine because....
a) your batteries will die long before you will heat up/melt the wires and
b) look inside the inverter. You will most likely find substantially less wire sizes than you think.