Is sentence construction mathematical?
No, I don’t believe so at all. Grammar may be learned as a pattern of verbs, subjects, adjectives etc. but that doesn’t mean it has anything to do with Math. There is a correct way to structure a sentence, but just because it contains a trace of organized thought doesn’t mean it has anything to do with math.