Is there a way to model human “critical thinking” with math?

Or something close to it in practical sense?