Retirement tax questions

Thanks for trying.  Form 523 is about gains, not about retirement savings distributions.  Different federal codes can use different definitions of the same term; e.g. house.