Mathematical Framework for Any-task Inference Foundation Models | HACKOBAR_