What do you mean by “Mathematical Framework”? Can you please cite an analogy?
If you’re looking for formalization of the HTM theory, the closest I have read so far is the one posted above by @jacobeverist, specifically the first resource about the spatial pooler.