It is widely known that a local diffeomorphism is not necessarily a global diffeomosphism and so on.
Now, I stumbled over the question whether in some particular cases, as I will describe below, local symplectomorphisms are indeed global ones.
The question arouse in the context of action-angle variables. I was reading these lecture notes click me and go to page 12 of the PDF or 11 of the notes.
Then the new action angles are constructed as derivatives of the generating function with respect to $I_1,...,I_n.$ But of course, since action-angles are periodic, this derivative is not well-defined globally, still one can consider this action locally and everything works fine. In this case, one can locally say that since the generating function is locally well-defined, we induce a symplectomorphism $(q,p) \mapsto (I,\phi)$.
The author does not really adress this local/global issue, probably because it does not matter apparently. So why does a local generating function induce a global symplectomorphism?