Question: are catalan and occitan the same language?
Answer: Most definitely they are dialects of the same language. The only difference is catalan has a standardised variety that unifies all the catalan/valencian/mallorcan dialects under one orthography, while occitan is a collection of dialects that has no standard written version.